3068d574eb
- Add LICENSE_FILE - Add NO_ARCH - Switch to options helpers
38 lines
941 B
Makefile
38 lines
941 B
Makefile
# Created by: Ying-Chieh Liao <ijliao@FreeBSD.org>
|
|
# $FreeBSD$
|
|
|
|
PORTNAME= stowES
|
|
PORTVERSION= 0.5.7
|
|
CATEGORIES= sysutils
|
|
MASTER_SITES= http://os.inf.tu-dresden.de/~adam/stowES/download/
|
|
|
|
MAINTAINER= ports@FreeBSD.org
|
|
COMMENT= Stow enhancement script
|
|
|
|
LICENSE= GPLv2+
|
|
LICENSE_FILE= ${WRKSRC}/COPYING
|
|
|
|
RUN_DEPENDS= stow:sysutils/stow
|
|
|
|
USES= gmake perl5
|
|
GNU_CONFIGURE= yes
|
|
NO_ARCH= yes
|
|
|
|
PORTDOCS= AUTHORS ChangeLog NEWS README TODO \
|
|
${PORTNAME}.html ${PORTNAME}.pod ${PORTNAME}.txt
|
|
PLIST_FILES= bin/${PORTNAME} man/man1/${PORTNAME}.1.gz
|
|
|
|
OPTIONS_DEFINE= DOCS
|
|
|
|
post-patch:
|
|
@${REINPLACE_CMD} -e "s|'md5sum',|'md5',|" ${WRKSRC}/${PORTNAME}.in
|
|
|
|
do-install:
|
|
${INSTALL_SCRIPT} ${WRKSRC}/${PORTNAME} ${STAGEDIR}${PREFIX}/bin
|
|
${INSTALL_MAN} ${WRKSRC}/${PORTNAME}.1 ${STAGEDIR}${MANPREFIX}/man/man1
|
|
|
|
do-install-DOCS-on:
|
|
@${MKDIR} ${STAGEDIR}${DOCSDIR}
|
|
${INSTALL_SCRIPT} ${PORTDOCS:S,^,${WRKSRC}/,} ${STAGEDIR}${DOCSDIR}
|
|
|
|
.include <bsd.port.mk>
|