2013-03-12 00:13:18 +01:00
|
|
|
# Created by: Matthias Andree <mandree@FreeBSD.org>
|
2011-03-12 16:23:24 +01:00
|
|
|
# $FreeBSD$
|
|
|
|
|
|
|
|
PORTNAME= pkgs_which
|
2014-02-11 23:50:26 +01:00
|
|
|
PORTVERSION= 0.4.1
|
2011-03-12 16:23:24 +01:00
|
|
|
CATEGORIES= ports-mgmt perl5
|
|
|
|
MASTER_SITES= # none
|
|
|
|
DISTFILES= # none
|
|
|
|
|
|
|
|
MAINTAINER= mandree@FreeBSD.org
|
|
|
|
COMMENT= Quickly find out which ports contributed to a file tree
|
|
|
|
|
|
|
|
LICENSE= GPLv3
|
|
|
|
|
2013-09-16 09:29:08 +02:00
|
|
|
USES= perl5
|
2011-03-12 16:23:24 +01:00
|
|
|
NO_BUILD= yes
|
|
|
|
PLIST_FILES= bin/${PORTNAME}
|
|
|
|
|
2014-02-21 14:39:07 +01:00
|
|
|
OPTIONS_DEFINE= DOCS
|
2014-02-10 14:54:26 +01:00
|
|
|
|
2013-03-12 00:13:18 +01:00
|
|
|
.include <bsd.port.options.mk>
|
|
|
|
|
|
|
|
.if ${PORT_OPTIONS:MDOCS}
|
2013-10-01 16:26:50 +02:00
|
|
|
PLIST_FILES+= man/man1/${PORTNAME}.1.gz
|
2011-03-12 16:23:24 +01:00
|
|
|
.endif
|
|
|
|
|
|
|
|
do-install:
|
2013-10-01 16:26:50 +02:00
|
|
|
${MKDIR} ${STAGEDIR}${PREFIX}/bin
|
|
|
|
${INSTALL_SCRIPT} ${FILESDIR}/${PORTNAME} ${STAGEDIR}${PREFIX}/bin
|
2013-03-12 00:13:18 +01:00
|
|
|
.if ${PORT_OPTIONS:MDOCS}
|
2013-10-01 16:26:50 +02:00
|
|
|
${MKDIR} ${STAGEDIR}${PREFIX}/man/man1
|
|
|
|
${LOCALBASE}/bin/pod2man ${FILESDIR}/${PORTNAME} >${STAGEDIR}${PREFIX}/man/man1/${PORTNAME}.1
|
2011-03-12 16:23:24 +01:00
|
|
|
.endif
|
|
|
|
|
|
|
|
.include <bsd.port.mk>
|