Lines 2-9
Link Here
|
2 |
# $FreeBSD: head/science/mol2ps/Makefile 401096 2015-11-09 12:59:03Z antoine $ |
2 |
# $FreeBSD: head/science/mol2ps/Makefile 401096 2015-11-09 12:59:03Z antoine $ |
3 |
|
3 |
|
4 |
PORTNAME= mol2ps |
4 |
PORTNAME= mol2ps |
5 |
PORTVERSION= 0.4a |
5 |
PORTVERSION= 0.4b |
6 |
PORTREVISION= 2 |
|
|
7 |
CATEGORIES= science |
6 |
CATEGORIES= science |
8 |
MASTER_SITES= http://merian.pch.univie.ac.at/pch/download/chemistry/${PORTNAME}/ |
7 |
MASTER_SITES= http://merian.pch.univie.ac.at/pch/download/chemistry/${PORTNAME}/ |
9 |
DISTNAME= ${PORTNAME} |
8 |
DISTNAME= ${PORTNAME} |
Lines 13-20
Link Here
|
13 |
MAINTAINER= ports@FreeBSD.org |
12 |
MAINTAINER= ports@FreeBSD.org |
14 |
COMMENT= Read molecular structure files and generate Postscript output |
13 |
COMMENT= Read molecular structure files and generate Postscript output |
15 |
|
14 |
|
16 |
BROKEN= unfetchable |
|
|
17 |
|
18 |
LICENSE= GPLv2 # (or later) |
15 |
LICENSE= GPLv2 # (or later) |
19 |
|
16 |
|
20 |
NO_WRKSUBDIR= yes |
17 |
NO_WRKSUBDIR= yes |
Lines 25-38
Link Here
|
25 |
|
22 |
|
26 |
USE_FPC= yes |
23 |
USE_FPC= yes |
27 |
|
24 |
|
28 |
PLIST_FILES= bin/${PORTNAME} bin/mol2svg %%DATADIR%%/color.conf |
25 |
PLIST_FILES= bin/mol2eps bin/mol2ps bin/mol2svg %%DATADIR%%/color.conf |
|
|
26 |
|
27 |
post-patch: |
28 |
@${REINPLACE_CMD} -e 's|STRUTILS,||' ${WRKSRC}/mol2ps.pas |
29 |
|
29 |
|
30 |
do-build: |
30 |
do-build: |
31 |
(cd ${WRKSRC} && ${LOCALBASE}/bin/fpc ${EXTRACT_ONLY} -S2 -O3) |
31 |
(cd ${WRKSRC} && ${LOCALBASE}/bin/fpc mol2ps.pas -S2 -O3) |
32 |
|
32 |
|
33 |
do-install: |
33 |
do-install: |
34 |
(cd ${WRKSRC} && ${INSTALL_PROGRAM} ${PORTNAME} ${STAGEDIR}${PREFIX}/bin) |
34 |
(cd ${WRKSRC} && ${INSTALL_PROGRAM} mol2ps ${STAGEDIR}${PREFIX}/bin) |
35 |
(cd ${STAGEDIR}${PREFIX}/bin && ${LN} ${PORTNAME} mol2svg) |
35 |
(cd ${STAGEDIR}${PREFIX}/bin && ${LN} mol2ps mol2eps) |
|
|
36 |
(cd ${STAGEDIR}${PREFIX}/bin && ${LN} mol2ps mol2svg) |
36 |
@${MKDIR} ${STAGEDIR}${DATADIR} |
37 |
@${MKDIR} ${STAGEDIR}${DATADIR} |
37 |
(cd ${FILESDIR} && ${INSTALL_DATA} color.conf ${STAGEDIR}${DATADIR}) |
38 |
(cd ${FILESDIR} && ${INSTALL_DATA} color.conf ${STAGEDIR}${DATADIR}) |
38 |
|
39 |
|