diff options
author | ehaupt <ehaupt@FreeBSD.org> | 2013-01-15 21:40:28 +0800 |
---|---|---|
committer | ehaupt <ehaupt@FreeBSD.org> | 2013-01-15 21:40:28 +0800 |
commit | d17f4033ae11c1ef211b336b25eb38a014e0c74b (patch) | |
tree | 98f96307b5a32cecd5d4e2104c22673c560b9789 /archivers/gzrecover | |
parent | 7e85483bc4dd371692cb42e0670e76bc41c0a5ba (diff) | |
download | freebsd-ports-gnome-d17f4033ae11c1ef211b336b25eb38a014e0c74b.tar.gz freebsd-ports-gnome-d17f4033ae11c1ef211b336b25eb38a014e0c74b.tar.zst freebsd-ports-gnome-d17f4033ae11c1ef211b336b25eb38a014e0c74b.zip |
- Use DOC instead of NOPORTDOCS
- Pacify portlint
- Convert header
Diffstat (limited to 'archivers/gzrecover')
-rw-r--r-- | archivers/gzrecover/Makefile | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/archivers/gzrecover/Makefile b/archivers/gzrecover/Makefile index c0c4e8f7ddca..dc40a500c124 100644 --- a/archivers/gzrecover/Makefile +++ b/archivers/gzrecover/Makefile @@ -20,12 +20,16 @@ CFLAGS+= -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -lz PLIST_FILES= bin/${PORTNAME} PORTDOCS= README +OPTIONS_DEFINE= DOCS + +.include <bsd.port.options.mk> + do-build: ${CC} -o ${WRKSRC}/${PORTNAME} ${CFLAGS} ${WRKSRC}/${PORTNAME}.c do-install: ${INSTALL_PROGRAM} ${WRKSRC}/${PORTNAME} ${PREFIX}/bin -.if !defined(NOPORTDOCS) +.if ${PORT_OPTIONS:MDOCS} ${MKDIR} ${DOCSDIR} ${INSTALL_DATA} ${WRKSRC}/README ${DOCSDIR} .endif |