# Created by: Matthew Seaman # $FreeBSD: head/ports-mgmt/p5-FreeBSD-Portindex/Makefile 353039 2014-05-05 20:13:39Z matthew $ PORTNAME= FreeBSD-Portindex PORTVERSION= 3.4 PORTREVISION= 1 CATEGORIES= ports-mgmt perl5 MASTER_SITES= http://www.infracaninophile.co.uk/portindex/ PKGNAMEPREFIX= p5- MAINTAINER= matthew@FreeBSD.org COMMENT= Incremental FreeBSD ports INDEX file generation LICENSE= BSD2CLAUSE BUILD_DEPENDS= p5-BerkeleyDB>0:${PORTSDIR}/databases/p5-BerkeleyDB RUN_DEPENDS:= ${BUILD_DEPENDS} NO_ARCH= yes # 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 GRAPHVIS_DESCR= Add GraphViz run-time dependency .include GRAPHVIZ_RUN_DEPENDS= dot:${PORTSDIR}/graphics/graphviz USES+= perl5 tar:xz USE_PERL5= configure CACHE_DIR?= /var/db/portindex CACHE_OWNER?= root CACHE_GROUP?= operator CACHE_MODE?= 0775 CFG_FILE= portindex.cfg SUB_FILES+= pkg-install pkg-deinstall SUB_LIST+= CACHE_DIR=${CACHE_DIR} \ CACHE_OWNER=${CACHE_OWNER} \ CACHE_GROUP=${CACHE_GROUP} \ CACHE_MODE=${CACHE_MODE} post-install: install-conf install-conf: cd ${WRKSRC} ; \ ${INSTALL_DATA} ${CFG_FILE}.sample ${STAGEDIR}${PREFIX}/etc/${CFG_FILE}.sample .include