- Switch to USES=localbase

- Switch to options helpers
- Update WWW

Approved by:	portmgr blanket
This commit is contained in:
Dmitry Marakasov 2018-06-18 09:34:35 +00:00
parent e12caed0b3
commit 8c87f80b28
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=472681
2 changed files with 5 additions and 3 deletions

View file

@ -15,11 +15,11 @@ LICENSE_FILE= ${WRKSRC}/LICENSE
LIB_DEPENDS= libpopt.so:devel/popt LIB_DEPENDS= libpopt.so:devel/popt
USES= localbase:ldflags
PLIST_FILES= bin/zeroer man/man1/zeroer.1.gz PLIST_FILES= bin/zeroer man/man1/zeroer.1.gz
PORTDOCS= README PORTDOCS= README
CFLAGS+= -I${LOCALBASE}/include LDFLAGS+= -lpopt
LDFLAGS+= -L${LOCALBASE}/lib -lpopt
OPTIONS_DEFINE= DOCS OPTIONS_DEFINE= DOCS
@ -30,6 +30,8 @@ do-build:
do-install: do-install:
${INSTALL_PROGRAM} ${WRKSRC}/${PORTNAME} ${STAGEDIR}${PREFIX}/bin ${INSTALL_PROGRAM} ${WRKSRC}/${PORTNAME} ${STAGEDIR}${PREFIX}/bin
${INSTALL_MAN} ${WRKSRC}/${PORTNAME}.1 ${STAGEDIR}${MANPREFIX}/man/man1 ${INSTALL_MAN} ${WRKSRC}/${PORTNAME}.1 ${STAGEDIR}${MANPREFIX}/man/man1
do-install-DOCS-on:
@${MKDIR} ${STAGEDIR}${DOCSDIR} @${MKDIR} ${STAGEDIR}${DOCSDIR}
${INSTALL_DATA} ${WRKSRC}/${PORTDOCS} ${STAGEDIR}${DOCSDIR} ${INSTALL_DATA} ${WRKSRC}/${PORTDOCS} ${STAGEDIR}${DOCSDIR}

View file

@ -7,4 +7,4 @@ The utility's principle consists in writing huge zero-padded memory blocks to a
file. To a certain extent this works similar to dd, however zeroer dynamically file. To a certain extent this works similar to dd, however zeroer dynamically
reduces the blockwriter's buffer size when the filesystem is going to be full. reduces the blockwriter's buffer size when the filesystem is going to be full.
WWW: http://critical.ch/zeroer/ WWW: https://critical.ch/zeroer/