caca19fd67
- Add LICENSE - Support staging PR: ports/184904 Submitted by: KATO Tsuguru <tkato432@yahoo.com>
35 lines
926 B
Makefile
35 lines
926 B
Makefile
# Created by: Andrew Pantyukhin <infofarmer@FreeBSD.org>
|
|
# $FreeBSD$
|
|
|
|
PORTNAME= humanzip
|
|
PORTVERSION= 0.5
|
|
CATEGORIES= textproc archivers
|
|
MASTER_SITES= SAVANNAH CENKES
|
|
|
|
MAINTAINER= ports@FreeBSD.org
|
|
COMMENT= Compresses text to human readable output
|
|
|
|
LICENSE= GPLv2 # (or later)
|
|
|
|
PORTDOCS= CHANGELOG README TODO
|
|
PLIST_FILES= bin/humanunzip bin/humanzip \
|
|
man/man1/humanunzip.1.gz man/man1/humanzip.1.gz
|
|
|
|
post-patch:
|
|
@${REINPLACE_CMD} -e \
|
|
's|g++|$${CXX}| ; \
|
|
s|-O2|$${CFLAGS}|' ${WRKSRC}/${MAKEFILE}
|
|
|
|
do-install:
|
|
.for i in humanzip humanunzip
|
|
(cd ${WRKSRC} && ${INSTALL_PROGRAM} ${i} ${STAGEDIR}${PREFIX}/bin)
|
|
.endfor
|
|
(cd ${WRKSRC} && ${INSTALL_MAN} humanzip.1 \
|
|
${STAGEDIR}${MAN1PREFIX}/man/man1)
|
|
${LN} -sf humanzip.1 ${STAGEDIR}${MAN1PREFIX}/man/man1/humanunzip.1
|
|
@${MKDIR} ${STAGEDIR}${DOCSDIR}
|
|
.for i in ${PORTDOCS}
|
|
(cd ${WRKSRC} && ${INSTALL_DATA} ${i} ${STAGEDIR}${DOCSDIR})
|
|
.endfor
|
|
|
|
.include <bsd.port.mk>
|