1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-20 00:21:35 +00:00

- Add LICENSE

- Add NO_ARCH
- Switch to options helpers
This commit is contained in:
Dmitry Marakasov 2016-09-14 09:01:34 +00:00
parent 8afd9c2cdc
commit 7937fc65d4
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=422119

View File

@ -10,23 +10,31 @@ MASTER_SITES= SF
MAINTAINER= ports@FreeBSD.org
COMMENT= CIA World Fact Book to SQL Conversion Utility
LICENSE= GPLv2+
LICENSE_FILE= ${WRKSRC}/COPYING
BUILD_DEPENDS= p5-Config-General>=0:devel/p5-Config-General
RUN_DEPENDS:= ${BUILD_DEPENDS}
USES= perl5 shebangfix
SHEBANG_FILES= wfb2sql
NO_BUILD= yes
OPTION_DEFINE= DOCS EXAMPLES
NO_ARCH= yes
PLIST_FILES= bin/wfb2sql
PORTDOCS= wfb2sql.html
PORTEXAMPLES= wfb2sqlrc
SHEBANG_FILES= wfb2sql
OPTIONS_DEFINE= DOCS EXAMPLES
do-install:
${INSTALL_SCRIPT} ${WRKSRC}/wfb2sql ${STAGEDIR}${PREFIX}/bin
do-install-EXAMPLES-on:
@${MKDIR} ${STAGEDIR}${EXAMPLESDIR}
${INSTALL_DATA} ${WRKSRC}/wfb2sqlrc ${STAGEDIR}${EXAMPLESDIR}
do-install-DOCS-on:
@${MKDIR} ${STAGEDIR}${DOCSDIR}
${INSTALL_DATA} ${WRKSRC}/doc/wfb2sql.html ${STAGEDIR}${DOCSDIR}