mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-30 05:40:06 +00:00
a829284cc0
- Use shebangfix - Define EXAMPLES option - Define DOCS option
34 lines
812 B
Makefile
34 lines
812 B
Makefile
# Created by: Sean Chittenden <seanc@FreeBSD.org>
|
|
# $FreeBSD$
|
|
|
|
PORTNAME= wfb2sql
|
|
PORTVERSION= 0.6
|
|
PORTREVISION= 1
|
|
CATEGORIES= databases perl5
|
|
MASTER_SITES= SF
|
|
|
|
MAINTAINER= ports@FreeBSD.org
|
|
COMMENT= CIA World Fact Book to SQL Conversion Utility
|
|
|
|
BUILD_DEPENDS= p5-Config-General>=0:${PORTSDIR}/devel/p5-Config-General
|
|
RUN_DEPENDS:= ${BUILD_DEPENDS}
|
|
|
|
USES= perl5 shebangfix
|
|
NO_BUILD= yes
|
|
|
|
OPTION_DEFINE= DOCS EXAMPLES
|
|
|
|
PLIST_FILES= bin/wfb2sql
|
|
PORTDOCS= wfb2sql.html
|
|
PORTEXAMPLES= wfb2sqlrc
|
|
SHEBANG_FILES= wfb2sql
|
|
|
|
do-install:
|
|
${INSTALL_SCRIPT} ${WRKSRC}/wfb2sql ${STAGEDIR}${PREFIX}/bin
|
|
@${MKDIR} ${STAGEDIR}${EXAMPLESDIR}
|
|
${INSTALL_DATA} ${WRKSRC}/wfb2sqlrc ${STAGEDIR}${EXAMPLESDIR}
|
|
@${MKDIR} ${STAGEDIR}${DOCSDIR}
|
|
${INSTALL_DATA} ${WRKSRC}/doc/wfb2sql.html ${STAGEDIR}${DOCSDIR}
|
|
|
|
.include <bsd.port.mk>
|