|
Lines 10-16
Link Here
|
| 10 |
PORTREVISION= 2 |
10 |
PORTREVISION= 2 |
| 11 |
CATEGORIES= net |
11 |
CATEGORIES= net |
| 12 |
MASTER_SITES= http://humdi.net/vnstat/ \ |
12 |
MASTER_SITES= http://humdi.net/vnstat/ \ |
| 13 |
http://mcx2.org/files/ |
13 |
http://mirror.mcx2.org/ \ |
|
|
14 |
http://ftp.uwsg.indiana.edu/FreeBSD/distfiles/ \ |
| 15 |
ftp://ftp.jpix.ad.jp/pub/FreeBSD/ports/distfiles/ |
| 14 |
DISTNAME= ${PORTNAME}-${PORTVERSION}_bsd |
16 |
DISTNAME= ${PORTNAME}-${PORTVERSION}_bsd |
| 15 |
|
17 |
|
| 16 |
MAINTAINER= adox@mcx2.org |
18 |
MAINTAINER= adox@mcx2.org |
|
Lines 25-31
Link Here
|
| 25 |
post-extract: |
27 |
post-extract: |
| 26 |
@cd ${WRKSRC} && ${CP} cron/vnstat vnstat-cron |
28 |
@cd ${WRKSRC} && ${CP} cron/vnstat vnstat-cron |
| 27 |
@${REINPLACE_CMD} -e 's|/usr/bin|/usr/local/bin|g' \ |
29 |
@${REINPLACE_CMD} -e 's|/usr/bin|/usr/local/bin|g' \ |
| 28 |
-e 's|/var/lib|/var/db|g' ${WRKSRC}/vnstat-cron |
30 |
-e 's|ls /var/lib|ls -l /var/db|g' ${WRKSRC}/vnstat-cron |
| 29 |
|
31 |
|
| 30 |
post-install: |
32 |
post-install: |
| 31 |
.if !defined(NOPORTDOCS) |
33 |
.if !defined(NOPORTDOCS) |