Lines 6-20
Link Here
|
6 |
# |
6 |
# |
7 |
|
7 |
|
8 |
PORTNAME= aewm |
8 |
PORTNAME= aewm |
9 |
PORTVERSION= 1.1.2 |
9 |
PORTVERSION= 1.2.0 |
10 |
CATEGORIES= x11-wm |
10 |
CATEGORIES= x11-wm |
11 |
MASTER_SITES= http://www.red-bean.com/~decklin/aewm/ |
11 |
MASTER_SITES= http://www.red-bean.com/~decklin/aewm/ |
12 |
|
12 |
|
13 |
MAINTAINER= trevor@FreeBSD.org |
13 |
MAINTAINER= trevor@FreeBSD.org |
14 |
|
14 |
|
|
|
15 |
ALL_TARGET= aewm |
15 |
BINS= aewm |
16 |
BINS= aewm |
16 |
DOCDIR= share/doc/${PORTNAME} |
17 |
DOCDIR= share/doc/${PORTNAME} |
17 |
DOCS= Changelog README TODO |
18 |
DOCS= Changelog README TODO |
|
|
19 |
MAKE_ARGS= CC="${CC}" CFLAGS="${CFLAGS}" XROOT="${X11BASE}" |
18 |
MAN1= aewm.1 |
20 |
MAN1= aewm.1 |
19 |
PLIST= ${WRKDIR}/pkg-plist |
21 |
PLIST= ${WRKDIR}/pkg-plist |
20 |
USE_GMAKE= yes |
22 |
USE_GMAKE= yes |
Lines 23-42
Link Here
|
23 |
pre-install: |
25 |
pre-install: |
24 |
${ECHO_CMD} bin/aewm > ${PLIST} |
26 |
${ECHO_CMD} bin/aewm > ${PLIST} |
25 |
.if !defined(NOPORTDOCS) |
27 |
.if !defined(NOPORTDOCS) |
26 |
for i in ${DOCS}; \ |
28 |
.for i in ${DOCS} |
27 |
do ${ECHO_CMD} ${DOCDIR}/$${i} >> ${PLIST}; \ |
29 |
${ECHO_CMD} ${DOCDIR}/${i} >> ${PLIST} |
28 |
done |
30 |
.endfor |
29 |
${ECHO_CMD} @dirrm ${DOCDIR} >> ${PLIST} |
31 |
${ECHO_CMD} @dirrm ${DOCDIR} >> ${PLIST} |
30 |
.endif |
32 |
.endif |
31 |
|
33 |
|
32 |
do-install: |
34 |
do-install: |
33 |
${INSTALL_PROGRAM} ${WRKSRC}/aewm ${PREFIX}/bin |
35 |
${INSTALL_PROGRAM} ${WRKSRC}/aewm ${PREFIX}/bin |
34 |
${INSTALL_MAN} ${WRKSRC}/aewm.1x ${PREFIX}/man/man1/aewm.1 |
36 |
${INSTALL_MAN} ${WRKSRC}/aewm.1x ${MANPREFIX}/man/man1/aewm.1 |
35 |
.if !defined(NOPORTDOCS) |
37 |
.if !defined(NOPORTDOCS) |
36 |
${MKDIR} ${PREFIX}/${DOCDIR} |
38 |
${MKDIR} ${PREFIX}/${DOCDIR} |
37 |
for i in ${DOCS}; \ |
39 |
.for i in ${DOCS} |
38 |
do ${INSTALL_DATA} ${WRKSRC}/$${i} ${PREFIX}/${DOCDIR}; \ |
40 |
${INSTALL_DATA} ${WRKSRC}/${i} ${PREFIX}/${DOCDIR} |
39 |
done |
41 |
.endfor |
40 |
.endif |
42 |
.endif |
41 |
|
43 |
|
42 |
.include <bsd.port.mk> |
44 |
.include <bsd.port.mk> |