Lines 2-8
Link Here
|
2 |
# $FreeBSD: head/sysutils/stowES/Makefile 327772 2013-09-20 23:05:58Z bapt $ |
2 |
# $FreeBSD: head/sysutils/stowES/Makefile 327772 2013-09-20 23:05:58Z bapt $ |
3 |
|
3 |
|
4 |
PORTNAME= stowES |
4 |
PORTNAME= stowES |
5 |
PORTVERSION= 0.5.6 |
5 |
PORTVERSION= 0.5.7 |
6 |
CATEGORIES= sysutils |
6 |
CATEGORIES= sysutils |
7 |
MASTER_SITES= http://os.inf.tu-dresden.de/~adam/stowES/download/ |
7 |
MASTER_SITES= http://os.inf.tu-dresden.de/~adam/stowES/download/ |
8 |
|
8 |
|
Lines 13-41
Link Here
|
13 |
|
13 |
|
14 |
RUN_DEPENDS= stow:${PORTSDIR}/sysutils/stow |
14 |
RUN_DEPENDS= stow:${PORTSDIR}/sysutils/stow |
15 |
|
15 |
|
16 |
USES= perl5 |
16 |
OPTIONS_DEFINE= DOCS |
17 |
USE_GMAKE= yes |
17 |
|
|
|
18 |
USES= gmake perl5 |
18 |
GNU_CONFIGURE= yes |
19 |
GNU_CONFIGURE= yes |
19 |
|
20 |
|
20 |
MAN1= ${PORTNAME}.1 |
|
|
21 |
PORTDOCS= AUTHORS ChangeLog NEWS README TODO \ |
21 |
PORTDOCS= AUTHORS ChangeLog NEWS README TODO \ |
22 |
${PORTNAME}.html ${PORTNAME}.pod ${PORTNAME}.txt |
22 |
${PORTNAME}.html ${PORTNAME}.pod ${PORTNAME}.txt |
23 |
PLIST_FILES= bin/${PORTNAME} |
23 |
PLIST_FILES= bin/${PORTNAME} man/man1/${PORTNAME}.1.gz |
24 |
|
24 |
|
25 |
OPTIONS_DEFINE= DOCS |
25 |
.include <bsd.port.options.mk> |
26 |
|
26 |
|
27 |
NO_STAGE= yes |
|
|
28 |
post-patch: |
27 |
post-patch: |
29 |
@${REINPLACE_CMD} -e "s|'md5sum',|'md5',|" ${WRKSRC}/${PORTNAME}.in |
28 |
@${REINPLACE_CMD} -e "s|'md5sum',|'md5',|" ${WRKSRC}/${PORTNAME}.in |
30 |
|
29 |
|
31 |
.include <bsd.port.options.mk> |
|
|
32 |
|
33 |
do-install: |
30 |
do-install: |
34 |
${INSTALL_SCRIPT} ${WRKSRC}/${PORTNAME} ${PREFIX}/bin |
31 |
(cd ${WRKSRC} && ${INSTALL_SCRIPT} ${PORTNAME} \ |
35 |
${INSTALL_MAN} ${WRKSRC}/${PORTNAME}.1 ${MANPREFIX}/man/man1 |
32 |
${STAGEDIR}${PREFIX}/bin) |
36 |
.if ${PORT_OPTIONS:MDOCS} |
33 |
(cd ${WRKSRC} && ${INSTALL_MAN} ${PORTNAME}.1 \ |
37 |
@${MKDIR} ${DOCSDIR} |
34 |
${STAGEDIR}${MANPREFIX}/man/man1) |
38 |
${INSTALL_SCRIPT} ${PORTDOCS:S,^,${WRKSRC}/,} ${DOCSDIR} |
35 |
@${MKDIR} ${STAGEDIR}${DOCSDIR} |
39 |
.endif |
36 |
.for i in ${PORTDOCS} |
|
|
37 |
(cd ${WRKSRC} && ${INSTALL_SCRIPT} ${i} ${STAGEDIR}${DOCSDIR}) |
38 |
.endfor |
40 |
|
39 |
|
41 |
.include <bsd.port.mk> |
40 |
.include <bsd.port.mk> |