Lines 2-28
Link Here
|
2 |
# $FreeBSD: head/science/checkmol/Makefile 305130 2012-10-01 14:45:16Z tabthorpe $ |
2 |
# $FreeBSD: head/science/checkmol/Makefile 305130 2012-10-01 14:45:16Z tabthorpe $ |
3 |
|
3 |
|
4 |
PORTNAME= checkmol |
4 |
PORTNAME= checkmol |
5 |
PORTVERSION= 0.4a |
5 |
PORTVERSION= 0.4d |
6 |
PORTREVISION= 4 |
|
|
7 |
CATEGORIES= science |
6 |
CATEGORIES= science |
8 |
MASTER_SITES= http://merian.pch.univie.ac.at/pch/download/chemistry/checkmol/ |
7 |
MASTER_SITES= http://merian.pch.univie.ac.at/pch/download/chemistry/checkmol/ |
9 |
DISTNAME= ${PORTNAME} |
8 |
DISTNAME= ${PORTNAME} |
10 |
EXTRACT_SUFX= .pas |
9 |
EXTRACT_SUFX= .pas |
|
|
10 |
DIST_SUBDIR= ${PORTNAME}-${PORTVERSION} |
11 |
|
11 |
|
12 |
MAINTAINER= ports@FreeBSD.org |
12 |
MAINTAINER= ports@FreeBSD.org |
13 |
COMMENT= Analyze molecules for the presence of functional groups |
13 |
COMMENT= Analyze molecules for the presence of functional groups |
14 |
|
14 |
|
|
|
15 |
LICENSE= GPLv2 # (or later) |
16 |
|
17 |
NO_WRKSUBDIR= yes |
18 |
|
19 |
EXTRACT_CMD= ${CP} |
20 |
EXTRACT_BEFORE_ARGS= # |
21 |
EXTRACT_AFTER_ARGS= ${WRKDIR} |
22 |
|
15 |
USE_FPC= yes |
23 |
USE_FPC= yes |
|
|
24 |
|
16 |
PLIST_FILES= bin/checkmol bin/matchmol |
25 |
PLIST_FILES= bin/checkmol bin/matchmol |
17 |
|
26 |
|
18 |
do-extract: |
|
|
19 |
@${RM} -rf ${WRKDIR} |
20 |
@${MKDIR} ${WRKDIR} |
21 |
${CP} ${DISTDIR}/${DISTFILES} ${WRKDIR}/ |
22 |
do-build: |
27 |
do-build: |
23 |
cd ${WRKDIR}; ${LOCALBASE}/bin/fpc ${DISTFILES} -S2 -O3 -Op3 |
28 |
(cd ${WRKSRC} && ${LOCALBASE}/bin/fpc ${EXTRACT_ONLY} -S2 -O3) |
|
|
29 |
|
24 |
do-install: |
30 |
do-install: |
25 |
${INSTALL_PROGRAM} ${WRKDIR}/${PORTNAME} ${PREFIX}/bin/ |
31 |
(cd ${WRKSRC} && ${INSTALL_PROGRAM} ${PORTNAME} ${PREFIX}/bin) |
26 |
${LN} ${PREFIX}/bin/${PORTNAME} ${PREFIX}/bin/matchmol |
32 |
(cd ${PREFIX}/bin && ${LN} ${PORTNAME} matchmol) |
27 |
|
33 |
|
28 |
.include <bsd.port.mk> |
34 |
.include <bsd.port.mk> |