# Created by: Bram Moolenaar # $FreeBSD$ PORTNAME= aap PORTVERSION= 1.092 CATEGORIES= devel MASTER_SITES= SF/a-a-p/Aap MAINTAINER= ports@FreeBSD.org COMMENT= A build tool alternative to make with internet access and CVS support LICENSE= GPLv2 MAN1= aap.1 NO_BUILD= yes NO_WRKSUBDIR= yes USE_ZIP= yes USE_PYTHON= yes PLIST_SUB+= PORTVERSION=${PORTVERSION} .include .if ${PORT_OPTIONS:MDOCS} FULLDOCS=yes .else FULLDOCS=no .endif .include do-install: @cd ${WRKSRC} && \ ${PYTHON_CMD} ./aap PREFIX="${PREFIX}" FULLDOCS=${FULLDOCS} \ HTMLDIR=/html install test: install cd ${WRKSRC}; ${PREFIX}/bin/aap # This target is only meant to be used by the port maintainer. x-generate-plist: (${PORTSDIR}/Tools/scripts/plist -d -m ${MTREE_FILE} ${PREFIX}|${SED} -E 's,.*share/nls/.+$$,,g;s,${PORTVERSION},%%PORTVERSION%%,g;s,^(lib/aap/Exec-%%PORTVERSION%%/doc/),%%PORTDOCS%%\1,g;s,^share/doc/aap/.*,,g'|${TR} -s '\n') > temp-pkg-plist .include