View | Details | Raw Unified | Return to bug 55328
Collapse All | Expand All

(-)aap/Makefile (-22 / +9 lines)
Lines 6-12 Link Here
6
#
6
#
7
7
8
PORTNAME=	aap
8
PORTNAME=	aap
9
PORTVERSION=	1.000
9
PORTVERSION=	1.010
10
CATEGORIES=	devel
10
CATEGORIES=	devel
11
MASTER_SITES=	${MASTER_SITE_SOURCEFORGE}
11
MASTER_SITES=	${MASTER_SITE_SOURCEFORGE}
12
MASTER_SITE_SUBDIR=	a-a-p
12
MASTER_SITE_SUBDIR=	a-a-p
Lines 23-51 Link Here
23
USE_PYTHON=	yes
23
USE_PYTHON=	yes
24
PLIST_SUB+=	PORTVERSION=${PORTVERSION}
24
PLIST_SUB+=	PORTVERSION=${PORTVERSION}
25
25
26
# The files are installed in lib/aap/Exec-${PORTVERSION} and below.  Create
27
# a symbolic link for bin/aap so that it's found in $PATH and still knows
28
# where to find the Python modules.
29
# Also create a link for share/doc/aap, so that more people can find the docs
30
# without clobbering share/doc.
31
INSTALLDIR=	${PREFIX}/lib/aap/Exec-${PORTVERSION}
32
do-install:
33
	cd ${WRKSRC} && \
34
		${MKDIR} -m 755 ${INSTALLDIR}/tools && \
35
		${INSTALL_SCRIPT} *.py aap ${INSTALLDIR} && \
36
		${LN} -fhs ${INSTALLDIR}/aap ${PREFIX}/bin/aap && \
37
		${INSTALL_SCRIPT} tools/*.py ${INSTALLDIR}/tools && \
38
		${INSTALL_DATA} -m 644 COPYING README.txt default.aap ${INSTALLDIR} && \
39
		${INSTALL_DATA} aap.1 ${PREFIX}/man/man1
40
.if !defined(NOPORTDOCS)
26
.if !defined(NOPORTDOCS)
41
	cd ${WRKSRC} && \
27
FULLDOCS=yes
42
		${MKDIR} -m 755 ${INSTALLDIR}/doc ${INSTALLDIR}/doc/html && \
28
.else
43
		${INSTALL_DATA} doc/exec.pdf ${INSTALLDIR}/doc && \
29
FULLDOCS=no
44
		${INSTALL_DATA} doc/*.html ${INSTALLDIR}/doc/html && \
45
		${LN} -fhs ${INSTALLDIR}/doc ${PREFIX}/share/doc/aap
46
.endif
30
.endif
47
	cd ${INSTALLDIR} && \
31
48
		${PYTHON_CMD} -c "import compileall; compileall.compile_dir('.', 1)"
32
do-install:
33
	@cd ${WRKSRC} && \
34
		${PYTHON_CMD} ./aap PREFIX="${PREFIX}" FULLDOCS=${FULLDOCS} \
35
			HTMLDIR=/html install
49
36
50
test: install
37
test: install
51
	cd ${WRKSRC}; ${PREFIX}/bin/aap
38
	cd ${WRKSRC}; ${PREFIX}/bin/aap
(-)aap/distinfo (-1 / +1 lines)
Line 1 Link Here
1
MD5 (aap-1.000.zip) = 605764a12ac71f55bc3a0769bbafd6d5
1
MD5 (aap-1.010.zip) = 042e5272cad201c9a2dca133bcfb6100
(-)aap/pkg-plist (-3 / +6 lines)
Lines 84-93 Link Here
84
%%PORTDOCS%%lib/aap/Exec-%%PORTVERSION%%/doc/html/index.html
84
%%PORTDOCS%%lib/aap/Exec-%%PORTVERSION%%/doc/html/index.html
85
%%PORTDOCS%%lib/aap/Exec-%%PORTVERSION%%/doc/html/license.html
85
%%PORTDOCS%%lib/aap/Exec-%%PORTVERSION%%/doc/html/license.html
86
%%PORTDOCS%%lib/aap/Exec-%%PORTVERSION%%/doc/html/ln12.html
86
%%PORTDOCS%%lib/aap/Exec-%%PORTVERSION%%/doc/html/ln12.html
87
%%PORTDOCS%%lib/aap/Exec-%%PORTVERSION%%/doc/html/p1820.html
87
%%PORTDOCS%%lib/aap/Exec-%%PORTVERSION%%/doc/html/p2801.html
88
%%PORTDOCS%%lib/aap/Exec-%%PORTVERSION%%/doc/html/p5586.html
88
%%PORTDOCS%%lib/aap/Exec-%%PORTVERSION%%/doc/html/p6786.html
89
%%PORTDOCS%%lib/aap/Exec-%%PORTVERSION%%/doc/html/p30.html
89
%%PORTDOCS%%lib/aap/Exec-%%PORTVERSION%%/doc/html/p30.html
90
%%PORTDOCS%%lib/aap/Exec-%%PORTVERSION%%/doc/html/p803.html
90
%%PORTDOCS%%lib/aap/Exec-%%PORTVERSION%%/doc/html/p836.html
91
%%PORTDOCS%%lib/aap/Exec-%%PORTVERSION%%/doc/html/ref-arguments.html
91
%%PORTDOCS%%lib/aap/Exec-%%PORTVERSION%%/doc/html/ref-arguments.html
92
%%PORTDOCS%%lib/aap/Exec-%%PORTVERSION%%/doc/html/ref-assign.html
92
%%PORTDOCS%%lib/aap/Exec-%%PORTVERSION%%/doc/html/ref-assign.html
93
%%PORTDOCS%%lib/aap/Exec-%%PORTVERSION%%/doc/html/ref-attributes.html
93
%%PORTDOCS%%lib/aap/Exec-%%PORTVERSION%%/doc/html/ref-attributes.html
Lines 108-113 Link Here
108
%%PORTDOCS%%lib/aap/Exec-%%PORTVERSION%%/doc/html/tutor-start.html
108
%%PORTDOCS%%lib/aap/Exec-%%PORTVERSION%%/doc/html/tutor-start.html
109
%%PORTDOCS%%lib/aap/Exec-%%PORTVERSION%%/doc/html/tutor-variant.html
109
%%PORTDOCS%%lib/aap/Exec-%%PORTVERSION%%/doc/html/tutor-variant.html
110
%%PORTDOCS%%lib/aap/Exec-%%PORTVERSION%%/doc/html/tutor-website.html
110
%%PORTDOCS%%lib/aap/Exec-%%PORTVERSION%%/doc/html/tutor-website.html
111
%%PORTDOCS%%lib/aap/Exec-%%PORTVERSION%%/doc/html/user-autoconf.html
111
%%PORTDOCS%%lib/aap/Exec-%%PORTVERSION%%/doc/html/user-autodep.html
112
%%PORTDOCS%%lib/aap/Exec-%%PORTVERSION%%/doc/html/user-autodep.html
112
%%PORTDOCS%%lib/aap/Exec-%%PORTVERSION%%/doc/html/user-basics.html
113
%%PORTDOCS%%lib/aap/Exec-%%PORTVERSION%%/doc/html/user-basics.html
113
%%PORTDOCS%%lib/aap/Exec-%%PORTVERSION%%/doc/html/user-cvs.html
114
%%PORTDOCS%%lib/aap/Exec-%%PORTVERSION%%/doc/html/user-cvs.html
Lines 127-132 Link Here
127
%%PORTDOCS%%lib/aap/Exec-%%PORTVERSION%%/doc/html/user-version.html
128
%%PORTDOCS%%lib/aap/Exec-%%PORTVERSION%%/doc/html/user-version.html
128
lib/aap/Exec-%%PORTVERSION%%/tools/__init__.py
129
lib/aap/Exec-%%PORTVERSION%%/tools/__init__.py
129
lib/aap/Exec-%%PORTVERSION%%/tools/__init__.pyc
130
lib/aap/Exec-%%PORTVERSION%%/tools/__init__.pyc
131
lib/aap/Exec-%%PORTVERSION%%/tools/bcc.py
132
lib/aap/Exec-%%PORTVERSION%%/tools/bcc.pyc
130
lib/aap/Exec-%%PORTVERSION%%/tools/gcc.py
133
lib/aap/Exec-%%PORTVERSION%%/tools/gcc.py
131
lib/aap/Exec-%%PORTVERSION%%/tools/gcc.pyc
134
lib/aap/Exec-%%PORTVERSION%%/tools/gcc.pyc
132
lib/aap/Exec-%%PORTVERSION%%/tools/icc.py
135
lib/aap/Exec-%%PORTVERSION%%/tools/icc.py

Return to bug 55328