2012-12-03 22:09:56 +01:00
|
|
|
# Created by: Matthew Seaman
|
2004-11-21 12:14:49 +01:00
|
|
|
# $FreeBSD$
|
|
|
|
|
|
|
|
PORTNAME= FreeBSD-Portindex
|
2015-10-18 15:21:17 +02:00
|
|
|
PORTVERSION= 3.6
|
2007-02-05 02:08:46 +01:00
|
|
|
CATEGORIES= ports-mgmt perl5
|
2004-11-21 12:14:49 +01:00
|
|
|
MASTER_SITES= http://www.infracaninophile.co.uk/portindex/
|
|
|
|
PKGNAMEPREFIX= p5-
|
|
|
|
|
2012-02-09 18:09:51 +01:00
|
|
|
MAINTAINER= matthew@FreeBSD.org
|
2004-11-21 12:14:49 +01:00
|
|
|
COMMENT= Incremental FreeBSD ports INDEX file generation
|
|
|
|
|
2013-12-26 23:41:02 +01:00
|
|
|
LICENSE= BSD2CLAUSE
|
2011-08-29 06:43:56 +02:00
|
|
|
|
2016-04-01 16:16:16 +02:00
|
|
|
BUILD_DEPENDS= p5-BerkeleyDB>0:databases/p5-BerkeleyDB
|
2011-08-29 06:43:56 +02:00
|
|
|
RUN_DEPENDS:= ${BUILD_DEPENDS}
|
2004-11-21 12:14:49 +01:00
|
|
|
|
2015-05-29 22:01:47 +02:00
|
|
|
USES= perl5 tar:xz
|
2013-08-02 00:04:01 +02:00
|
|
|
USE_PERL5= configure
|
2015-05-29 22:01:47 +02:00
|
|
|
NO_ARCH= yes
|
2004-11-21 12:14:49 +01:00
|
|
|
|
2007-08-04 13:41:30 +02:00
|
|
|
CACHE_DIR?= /var/db/portindex
|
2004-11-21 12:14:49 +01:00
|
|
|
CACHE_OWNER?= root
|
|
|
|
CACHE_GROUP?= operator
|
|
|
|
CACHE_MODE?= 0775
|
|
|
|
|
|
|
|
CFG_FILE= portindex.cfg
|
|
|
|
|
2015-05-29 22:01:47 +02:00
|
|
|
PLIST_SUB+= CACHE_DIR=${CACHE_DIR} \
|
2013-09-27 16:26:32 +02:00
|
|
|
CACHE_OWNER=${CACHE_OWNER} \
|
|
|
|
CACHE_GROUP=${CACHE_GROUP} \
|
2013-12-26 23:41:02 +01:00
|
|
|
CACHE_MODE=${CACHE_MODE}
|
2004-11-21 12:14:49 +01:00
|
|
|
|
2015-05-29 22:01:47 +02:00
|
|
|
# GraphViz not required for portindex to run or generate GraphViz
|
|
|
|
# format output: this is only needed to render the output on the same
|
|
|
|
# machine.
|
|
|
|
OPTIONS_DEFINE= GRAPHVIZ
|
|
|
|
GRAPHVIZ_DESC= Add GraphViz run-time dependency
|
2016-04-01 16:16:16 +02:00
|
|
|
GRAPHVIZ_RUN_DEPENDS= dot:graphics/graphviz
|
2004-11-21 12:14:49 +01:00
|
|
|
|
2015-05-29 22:01:47 +02:00
|
|
|
post-install:
|
|
|
|
${MKDIR} ${STAGEDIR}${CACHE_DIR}
|
|
|
|
${INSTALL_DATA} ${WRKSRC}/${CFG_FILE}.sample ${STAGEDIR}${PREFIX}/etc/${CFG_FILE}.sample
|
2004-11-21 12:14:49 +01:00
|
|
|
|
2007-09-08 03:12:10 +02:00
|
|
|
.include <bsd.port.mk>
|