Lines 3-31
Link Here
|
3 |
|
3 |
|
4 |
PORTNAME= webreport |
4 |
PORTNAME= webreport |
5 |
PORTVERSION= 1.5 |
5 |
PORTVERSION= 1.5 |
|
|
6 |
PORTREVISION= 1 |
6 |
CATEGORIES= www |
7 |
CATEGORIES= www |
7 |
MASTER_SITES= http://www.inter7.com/webreport/ |
8 |
MASTER_SITES= http://www.inter7.com/webreport/ |
8 |
|
9 |
|
9 |
MAINTAINER= ismail@EnderUNIX.org |
10 |
MAINTAINER= ismail@EnderUNIX.org |
10 |
COMMENT= WebReport is a web log statistics program for web hosting sites |
11 |
COMMENT= WebReport is a web log statistics program for web hosting sites |
11 |
|
12 |
|
|
|
13 |
SUB_FILES= pkg-message |
12 |
PORTDOCS= INSTALL |
14 |
PORTDOCS= INSTALL |
13 |
PLIST_FILES= bin/webreport etc/webreport.conf-dist |
15 |
PLIST_FILES= bin/webreport etc/webreport.conf-dist |
14 |
|
16 |
|
15 |
NO_STAGE= yes |
17 |
OPTIONS_DEFINE= DOCS |
|
|
18 |
|
19 |
# silence clang errors on 10.0+ |
20 |
CFLAGS+= -Wno-return-type |
21 |
|
22 |
.include <bsd.port.options.mk> |
23 |
|
16 |
post-patch: |
24 |
post-patch: |
17 |
@${REINPLACE_CMD} -e 's,ulong,unsigned long,;s,/etc/,${PREFIX}/etc/,' ${WRKSRC}/webreport.h |
25 |
@${REINPLACE_CMD} -e 's,ulong,unsigned long,;s,/etc/,${PREFIX}/etc/,' ${WRKSRC}/webreport.h |
18 |
|
26 |
|
19 |
do-install: |
27 |
do-install: |
20 |
@${INSTALL_PROGRAM} ${WRKSRC}/webreport ${PREFIX}/bin |
28 |
@${INSTALL_PROGRAM} ${WRKSRC}/webreport ${STAGEDIR}${PREFIX}/bin |
21 |
@${INSTALL_DATA} ${WRKSRC}/webreport.conf ${PREFIX}/etc/webreport.conf-dist |
29 |
@${INSTALL_DATA} ${WRKSRC}/webreport.conf ${STAGEDIR}${PREFIX}/etc/webreport.conf-dist |
22 |
|
30 |
|
23 |
.if !defined(NOPORTDOCS) |
31 |
.if ${PORT_OPTIONS:MDOCS} |
24 |
@${MKDIR} ${DOCSDIR} |
32 |
@${MKDIR} ${STAGEDIR}${DOCSDIR} |
25 |
@${INSTALL_MAN} ${WRKSRC}/${PORTDOCS} ${DOCSDIR} |
33 |
@${INSTALL_MAN} ${WRKSRC}/${PORTDOCS} ${STAGEDIR}${DOCSDIR} |
26 |
.endif |
34 |
.endif |
27 |
|
35 |
|
28 |
post-install: |
|
|
29 |
@${CAT} ${PKGMESSAGE} | ${SED} -e 's|%%PREFIX%%|${PREFIX}|g' |
30 |
|
31 |
.include <bsd.port.mk> |
36 |
.include <bsd.port.mk> |