aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--databases/wfb2sql/Makefile14
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}