diff options
author | Pawel Pekala <pawel@FreeBSD.org> | 2014-03-24 09:01:39 +0000 |
---|---|---|
committer | Pawel Pekala <pawel@FreeBSD.org> | 2014-03-24 09:01:39 +0000 |
commit | f882a8136ad8b7b81d2d98c72efebf0a1a4d08b1 (patch) | |
tree | d9a9bd889f4e64274e70be07b9eb1e4e308dc6e4 | |
parent | e497a2904bf819dcdde2cbff8c6236cbcab2785c (diff) | |
download | ports-f882a8136ad8b7b81d2d98c72efebf0a1a4d08b1.tar.gz ports-f882a8136ad8b7b81d2d98c72efebf0a1a4d08b1.zip |
Notes
-rw-r--r-- | biology/fasta/Makefile | 34 | ||||
-rw-r--r-- | biology/fasta/pkg-plist | 28 |
2 files changed, 31 insertions, 31 deletions
diff --git a/biology/fasta/Makefile b/biology/fasta/Makefile index edd125a1045f..44538b92eac2 100644 --- a/biology/fasta/Makefile +++ b/biology/fasta/Makefile @@ -15,17 +15,13 @@ NO_CDROM= May not be sold or incorporated into a commercial product WRKSRC= ${WRKDIR}/fasta PKGMESSAGE= ${WRKDIR}/pkg-message SUB_FILES= pkg-message -FASTA_DOCS= COPYRIGHT README.versions fasta20.doc fasta20.me format.doc \ - readme.* -MAN1= align.1 fasta.1 lalign.1 prdf.1 prss.1 randseq.1 ssearch.1 -MLINKS= fasta.1 tfasta.1 fasta.1 lfasta.1 fasta.1 plfasta.1 \ - fasta.1 fastx.1 fasta.1 tfastx.1 \ - align.1 align0.1 lalign.1 plalign.1 +MAN_FILES= align.1 fasta.1 lalign.1 prdf.1 prss.1 randseq.1 ssearch.1 +PORTDOCS= COPYRIGHT README.versions fasta20.doc fasta20.me format.doc \ + readme.* OPTIONS_DEFINE= DOCS -NO_STAGE= yes do-extract: @ ${RM} -rf ${WRKDIR} @ ${MKDIR} ${WRKSRC} @@ -33,19 +29,23 @@ do-extract: cd ${WRKSRC} && (${GZCAT} ${DISTDIR}/$${f} | ${SH} >/dev/null); \ done -BROKEN_powerpc= Does not build: runs out of space on powerpc +post-patch: + @${REINPLACE_CMD} 's|BIN)|DESTDIR)$$(&|' ${WRKSRC}/Makefile -.include <bsd.port.options.mk> +BROKEN_powerpc= Does not build: runs out of space on powerpc post-install: -.for manpage in ${MAN1} - ${INSTALL_MAN} ${WRKSRC}/${manpage} ${MAN1PREFIX}/man/man1/ -.endfor -.if ${PORT_OPTIONS:MDOCS} - @ ${MKDIR} ${DOCSDIR} -.for docfile in ${FASTA_DOCS} - ${INSTALL_DATA} ${WRKSRC}/${docfile} ${DOCSDIR} + (cd ${WRKSRC} && ${INSTALL_MAN} ${MAN_FILES} \ + ${STAGEDIR}${MAN1PREFIX}/man/man1) +.for mlink in tfasta lfasta plfasta fastx tfastx + ${LN} -s ${MAN1PREFIX}/man/man1/fasta.1.gz \ + ${STAGEDIR}${MAN1PREFIX}/man/man1/${mlink}.1.gz .endfor -.endif + ${LN} -s ${MAN1PREFIX}/man/man1/align.1.gz \ + ${STAGEDIR}${MAN1PREFIX}/man/man1/align0.1.gz + ${LN} -s ${MAN1PREFIX}/man/man1/align.1.gz \ + ${STAGEDIR}${MAN1PREFIX}/man/man1/plalign.1.gz + @${MKDIR} ${STAGEDIR}${DOCSDIR} + ${INSTALL_DATA} ${PORTDOCS:S|^|${WRKSRC}/|} ${STAGEDIR}${DOCSDIR} .include <bsd.port.mk> diff --git a/biology/fasta/pkg-plist b/biology/fasta/pkg-plist index 8e94a7e347eb..a72f2f287977 100644 --- a/biology/fasta/pkg-plist +++ b/biology/fasta/pkg-plist @@ -1,16 +1,3 @@ -%%PORTDOCS%%%%DOCSDIR%%/COPYRIGHT -%%PORTDOCS%%%%DOCSDIR%%/README.versions -%%PORTDOCS%%%%DOCSDIR%%/fasta20.doc -%%PORTDOCS%%%%DOCSDIR%%/fasta20.me -%%PORTDOCS%%%%DOCSDIR%%/format.doc -%%PORTDOCS%%%%DOCSDIR%%/readme.v15 -%%PORTDOCS%%%%DOCSDIR%%/readme.v16 -%%PORTDOCS%%%%DOCSDIR%%/readme.v17 -%%PORTDOCS%%%%DOCSDIR%%/readme.v20 -%%PORTDOCS%%%%DOCSDIR%%/readme.v20u4 -%%PORTDOCS%%%%DOCSDIR%%/readme.v20u5 -%%PORTDOCS%%%%DOCSDIR%%/readme.v20u6 -%%PORTDOCS%%%%DOCSDIR%%/readme.v21u0 bin/align bin/align0 bin/chofas @@ -18,4 +5,17 @@ bin/garnier bin/lalign bin/plalign bin/psgrease -%%PORTDOCS%%@dirrm %%DOCSDIR%% +man/man1/align.1.gz +man/man1/align0.1.gz +man/man1/fasta.1.gz +man/man1/fastx.1.gz +man/man1/lalign.1.gz +man/man1/lfasta.1.gz +man/man1/plalign.1.gz +man/man1/plfasta.1.gz +man/man1/prdf.1.gz +man/man1/prss.1.gz +man/man1/randseq.1.gz +man/man1/ssearch.1.gz +man/man1/tfasta.1.gz +man/man1/tfastx.1.gz |