freebsd-ports/archivers/unarj/Makefile

28 lines
606 B
Makefile

# Created by: ache
# $FreeBSD$
PORTNAME= unarj
PORTVERSION= 2.65
PORTREVISION= 2
CATEGORIES= archivers
MASTER_SITES= https://googledrive.com/host/0BwCT-sp3iBCaeDRPYm1jTjl1Qmc/
MAINTAINER= ak@FreeBSD.org
COMMENT= Allows files to be extracted from ARJ archives
USES= tar:tgz
PLIST_FILES= bin/unarj
PORTDOCS= unarj.txt technote.txt
OPTIONS_DEFINE= DOCS
post-patch:
${CP} ${FILESDIR}/sanitize.c ${WRKSRC}
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/unarj ${STAGEDIR}${PREFIX}/bin
@${MKDIR} ${STAGEDIR}${DOCSDIR}
${INSTALL_DATA} ${PORTDOCS:S|^|${WRKSRC}/|} ${STAGEDIR}${DOCSDIR}
.include <bsd.port.mk>