aboutsummaryrefslogtreecommitdiffstats
path: root/devel/aap/Makefile
blob: e2390996903bb2ba8523d5b1236e4e2132b515a7 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
# New ports collection makefile for:    A-A-P Recipe Executive: aap
# Date created:             28 October 2002
# Whom:                 Bram Moolenaar <bram@a-a-p.org>
#
# $FreeBSD$
#
# Most of plist can be created with:
# # /usr/ports/Tools/scripts/plist -d -m /etc/mtree/BSD.local.dist $PWD/INSTALL|sed -E 's,1.057,%%PORTVERSION%%,g;s,^(lib/aap/Exec-%%PORTVERSION%%/doc/),%%PORTDOCS%%\1,g;s,^share/doc/.*,,g' | tr -s '\n'> pkg-plist.new
#

PORTNAME=   aap
PORTVERSION=    1.063
CATEGORIES= devel
MASTER_SITES=   ${MASTER_SITE_SOURCEFORGE}
MASTER_SITE_SUBDIR= a-a-p

MAINTAINER= rui@ruilopes.com
COMMENT=    A build tool alternative to make with internet access and CVS support

MAN1=       aap.1

NO_BUILD=   yes
NO_WRKSUBDIR=   yes

USE_ZIP=    yes
USE_PYTHON= yes
PLIST_SUB+= PORTVERSION=${PORTVERSION}

.if !defined(NOPORTDOCS)
FULLDOCS=yes
.else
FULLDOCS=no
.endif

do-install:
    @cd ${WRKSRC} && \
        ${PYTHON_CMD} ./aap PREFIX="${PREFIX}" FULLDOCS=${FULLDOCS} \
            HTMLDIR=/html install

test: install
    cd ${WRKSRC}; ${PREFIX}/bin/aap

.include <bsd.port.mk>