aboutsummaryrefslogtreecommitdiffstats
path: root/biology
diff options
context:
space:
mode:
authorbapt <bapt@FreeBSD.org>2014-05-05 18:26:15 +0800
committerbapt <bapt@FreeBSD.org>2014-05-05 18:26:15 +0800
commit475cea2b8754f045c24dfed6bd277453d52c440a (patch)
treed793f74befe919da3bfe21ee97f63b4547010a13 /biology
parent5f9b6d48047431db21824462201f2cee14ab0b0d (diff)
downloadfreebsd-ports-gnome-475cea2b8754f045c24dfed6bd277453d52c440a.tar.gz
freebsd-ports-gnome-475cea2b8754f045c24dfed6bd277453d52c440a.tar.zst
freebsd-ports-gnome-475cea2b8754f045c24dfed6bd277453d52c440a.zip
Support stage
Diffstat (limited to 'biology')
-rw-r--r--biology/tRNAscan-SE/Makefile29
1 files changed, 9 insertions, 20 deletions
diff --git a/biology/tRNAscan-SE/Makefile b/biology/tRNAscan-SE/Makefile
index 02ea508f3554..985cb016841f 100644
--- a/biology/tRNAscan-SE/Makefile
+++ b/biology/tRNAscan-SE/Makefile
@@ -17,39 +17,28 @@ MAKE_ARGS= BINDIR="${PREFIX}/bin" \
CC="${CC}" \
CFLAGS="${CFLAGS}"
-PLIST_FILES+= bin/covels-SE bin/coves-SE bin/eufindtRNA bin/tRNAscan-SE bin/trnascan-1.4
-MAN1= tRNAscan-SE.1
+PLIST_FILES+= bin/covels-SE bin/coves-SE bin/eufindtRNA bin/tRNAscan-SE bin/trnascan-1.4 \
+ man/man1/tRNAscan-SE.1.gz
PORTDATA= *
PORTDOCS= Manual.ps
OPTIONS_DEFINE= DOCS
-NO_STAGE= yes
post-patch:
@${REINPLACE_CMD} -e 's|tRNAscanSE setpaths|tRNAscanSE|g ; \
s|if tRNAscan-SE|if ./tRNAscan-SE|g' ${WRKSRC}/Makefile
do-install:
.for f in covels-SE coves-SE eufindtRNA trnascan-1.4
- ${INSTALL_PROGRAM} ${WRKSRC}/${f} ${PREFIX}/bin
+ ${INSTALL_PROGRAM} ${WRKSRC}/${f} ${STAGEDIR}${PREFIX}/bin
.endfor
- ${INSTALL_SCRIPT} ${WRKSRC}/tRNAscan-SE ${PREFIX}/bin
- ${INSTALL_MAN} ${WRKSRC}/tRNAscan-SE.man ${MANPREFIX}/man/man1/tRNAscan-SE.1
- @${MKDIR} ${DATADIR}
+ ${INSTALL_SCRIPT} ${WRKSRC}/tRNAscan-SE ${STAGEDIR}${PREFIX}/bin
+ ${INSTALL_MAN} ${WRKSRC}/tRNAscan-SE.man ${STAGEDIR}${MANPREFIX}/man/man1/tRNAscan-SE.1
+ @${MKDIR} ${STAGEDIR}${DATADIR}
.for f in TPCsignal Dsignal *.cm gcode.*
- ${INSTALL_DATA} ${WRKSRC}/${f} ${DATADIR}
+ ${INSTALL_DATA} ${WRKSRC}/${f} ${STAGEDIR}${DATADIR}
.endfor
-
-.include <bsd.port.options.mk>
-
-#
-# have to install before testing as path to data files is hardcoded
-#
-post-install:
- @ cd ${WRKSRC} && ${MAKE} testrun
-.if ${PORT_OPTIONS:MDOCS}
- @${MKDIR} ${DOCSDIR}
- ${INSTALL_DATA} ${WRKSRC}/Manual.ps ${DOCSDIR}
-.endif
+ @${MKDIR} ${STAGEDIR}${DOCSDIR}
+ ${INSTALL_DATA} ${WRKSRC}/Manual.ps ${STAGEDIR}${DOCSDIR}
.include <bsd.port.mk>