diff options
author | amdmi3 <amdmi3@FreeBSD.org> | 2016-09-14 17:01:34 +0800 |
---|---|---|
committer | amdmi3 <amdmi3@FreeBSD.org> | 2016-09-14 17:01:34 +0800 |
commit | c439a4684721cceadcd7c9b0db9de53a0d782dd6 (patch) | |
tree | b7d41cfe81053001de9ae7fe8b82c2bff300145b | |
parent | 983eece3f90e24571bab266d4f1136018f616229 (diff) | |
download | freebsd-ports-gnome-c439a4684721cceadcd7c9b0db9de53a0d782dd6.tar.gz freebsd-ports-gnome-c439a4684721cceadcd7c9b0db9de53a0d782dd6.tar.zst freebsd-ports-gnome-c439a4684721cceadcd7c9b0db9de53a0d782dd6.zip |
- Add LICENSE
- Add NO_ARCH
- Switch to options helpers
-rw-r--r-- | databases/wfb2sql/Makefile | 14 |
1 files changed, 11 insertions, 3 deletions
diff --git a/databases/wfb2sql/Makefile b/databases/wfb2sql/Makefile index c96ce0f45d0c..1bb8053b0a13 100644 --- a/databases/wfb2sql/Makefile +++ b/databases/wfb2sql/Makefile @@ -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} |