blob: 2f923f30eddfc91676dbb2a39e95d6d09fcdc8bf (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
|
PORTNAME= mol2ps
PORTVERSION= 0.4b
PORTREVISION= 12
CATEGORIES= science
MASTER_SITES= https://homepage.univie.ac.at/norbert.haider/download/chemistry/mol2ps/
DISTNAME= ${PORTNAME}
EXTRACT_SUFX= .pas
DIST_SUBDIR= ${PORTNAME}-${PORTVERSION}
MAINTAINER= acm@FreeBSD.org
COMMENT= Read molecular structure files and generate Postscript output
LICENSE= GPLv2+
NO_WRKSUBDIR= yes
EXTRACT_CMD= ${CP}
EXTRACT_BEFORE_ARGS= #
EXTRACT_AFTER_ARGS= ${WRKSRC}
USES= fpc
USE_FPC= rtl-objpas
PLIST_FILES= bin/mol2eps bin/mol2ps bin/mol2svg %%DATADIR%%/color.conf
do-build:
(cd ${WRKSRC} && ${LOCALBASE}/bin/fpc mol2ps -S2 -O3)
do-install:
(cd ${WRKSRC} && ${INSTALL_PROGRAM} mol2ps ${STAGEDIR}${PREFIX}/bin)
(cd ${STAGEDIR}${PREFIX}/bin && \
${LN} mol2ps mol2eps && ${LN} mol2ps mol2svg)
@${MKDIR} ${STAGEDIR}${DATADIR}
(cd ${FILESDIR} && ${INSTALL_DATA} color.conf ${STAGEDIR}${DATADIR})
.include <bsd.port.mk>
|