diff options
author | Boris Samorodov <bsam@FreeBSD.org> | 2013-06-19 14:10:02 +0000 |
---|---|---|
committer | Boris Samorodov <bsam@FreeBSD.org> | 2013-06-19 14:10:02 +0000 |
commit | 3d4edf2fac2d52f40f2b5b1449671731387f353e (patch) | |
tree | b4702068a74837e4156bbb75e43c6939413d96bf /biology | |
parent | 4ee320ce2490e511839eb0b1d6f555760da483f7 (diff) | |
download | freebsd-ports-3d4edf2fac2d52f40f2b5b1449671731387f353e.zip |
. NOPORTDOCS -> PORT_OPTIONS:MDOCS;
. use PLIST_FILES and PORTDOCS;
. remove pkg-plist (4 lines).
Diffstat (limited to 'biology')
-rw-r--r-- | biology/ariadne/Makefile | 9 | ||||
-rw-r--r-- | biology/ariadne/pkg-plist | 4 |
2 files changed, 8 insertions, 5 deletions
diff --git a/biology/ariadne/Makefile b/biology/ariadne/Makefile index 166df0387e33..44d41f2d4f55 100644 --- a/biology/ariadne/Makefile +++ b/biology/ariadne/Makefile @@ -13,16 +13,23 @@ COMMENT= Programs to compare protein sequences and profiles WRKSRC= ${WRKDIR}/SRC-${PORTVERSION} USE_GMAKE= yes +PLIST_FILES+= bin/ariadne bin/prospero +PORTDOCS= README + +OPTIONS_DEFINE= DOCS + post-patch: @${REINPLACE_CMD} -e 's|-lpthread|${PTHREAD_LIBS}| ; \ s|CC =|CC ?=| ; \ s|CFLAGS =|CFLAGS +=| ; \ s|-c $(OPTIMISE)|-c $(CFLAGS) $(OPTIMIZE)|g' ${WRKSRC}/Makefile +.include <bsd.port.options.mk> + do-install: ${INSTALL_PROGRAM} ${WRKSRC}/${OPSYS}/ariadne ${PREFIX}/bin ${INSTALL_PROGRAM} ${WRKSRC}/${OPSYS}/prospero ${PREFIX}/bin -.if !defined(NOPORTDOCS) +.if ${PORT_OPTIONS:MDOCS} @${MKDIR} ${DOCSDIR} ${INSTALL_DATA} ${WRKSRC}/README ${DOCSDIR} .endif diff --git a/biology/ariadne/pkg-plist b/biology/ariadne/pkg-plist deleted file mode 100644 index cc92b2c7ea50..000000000000 --- a/biology/ariadne/pkg-plist +++ /dev/null @@ -1,4 +0,0 @@ -bin/ariadne -bin/prospero -%%PORTDOCS%%%%DOCSDIR%%/README -%%PORTDOCS%%@dirrm %%DOCSDIR%% |