1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-21 04:06:46 +00:00
freebsd-ports/devel/aap/Makefile
Muhammad Moinur Rahman 5af596c46b devel/aap: Update version 1.093=>1.094
- Update MASTER_SITES sub directory according to upstream
- Take MAINTAINERSHIP
2015-06-07 11:56:10 +00:00

44 lines
1.1 KiB
Makefile

# Created by: Bram Moolenaar <bram@a-a-p.org>
# $FreeBSD$
PORTNAME= aap
PORTVERSION= 1.094
CATEGORIES= devel
MASTER_SITES= SF/a-a-p
MAINTAINER= bofh@FreeBSD.org
COMMENT= Build tool alternative to make with internet access and CVS support
LICENSE= GPLv2
LICENSE_FILE= ${WRKSRC}/COPYING
OPTIONS_DEFINE= DOCS
NO_WRKSUBDIR= yes
NO_BUILD= yes
USES= python zip
PLIST_SUB= PORTVERSION="${PORTVERSION}"
NO_ARCH= yes
do-install:
@cd ${WRKSRC} && ${PYTHON_CMD} ./aap PREFIX="${STAGEDIR}/${PREFIX}" \
FULLDOCS=no install
${PYTHON_CMD} ${PYTHON_LIBDIR}/compileall.py \
-d ${PREFIX}/lib/aap/Exec-${PORTVERSION}/ -f ${STAGEDIR}${PREFIX}/lib/aap/Exec-${PORTVERSION}
@${LN} -sf ../lib/aap/Exec-${PORTVERSION}/aap \
${STAGEDIR}${PREFIX}/bin/aap
@${MKDIR} ${STAGEDIR}/${DOCSDIR}
(cd ${WRKSRC}/doc && ${INSTALL_DATA} exec.pdf \
${STAGEDIR}${DOCSDIR})
@${MKDIR} ${STAGEDIR}/${DOCSDIR}/html
(cd ${WRKSRC}/doc && ${INSTALL_DATA} *.html \
${STAGEDIR}${DOCSDIR}/html)
@${LN} -sf ../../../${DOCSDIR_REL} \
${STAGEDIR}${PREFIX}/lib/aap/Exec-${PORTVERSION}/doc
test: install
cd ${WRKSRC}; ${PREFIX}/bin/aap
.include <bsd.port.mk>