- Switch to options helpers

This commit is contained in:
Dmitry Marakasov 2017-11-26 09:00:21 +00:00
parent f2059bf405
commit 0e54a3159c
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=454906

View File

@ -16,7 +16,7 @@ WRKSRC= ${WRKDIR}/${PORTNAME}-${PORTVERSION}
EXAMPLES= example1.c example2.c example3.c example4.c seqio.c \
seqio.h Makefile
PROGRAMS= fmtseq grepseq idxseq typeseq wcseq
PLIST_FILES+= ${PROGRAMS:S,^,bin/,}
PLIST_FILES= ${PROGRAMS:S,^,bin/,}
PORTEXAMPLES= *
PORTDOCS= *
@ -24,8 +24,12 @@ OPTIONS_DEFINE= DOCS EXAMPLES
do-install:
${INSTALL_PROGRAM} ${PROGRAMS:S,^,${WRKSRC}/,} ${STAGEDIR}${PREFIX}/bin
do-install-EXAMPLES-on:
@${MKDIR} ${STAGEDIR}${EXAMPLESDIR}
${INSTALL_DATA} ${EXAMPLES:S,^,${WRKSRC}/,} ${STAGEDIR}${EXAMPLESDIR}
do-install-DOCS-on:
@${MKDIR} ${STAGEDIR}${DOCSDIR}/html
${INSTALL_DATA} ${WRKSRC}/bioseq.txt ${STAGEDIR}${DOCSDIR}
${INSTALL_DATA} ${WRKSRC}/doc/*.doc ${STAGEDIR}${DOCSDIR}