freebsd-ports/www/script4rss/Makefile
Emanuel Haupt a9e79e79a9 - Support staging
- Use shebangfix
- Define EXAMPLES option
2014-02-27 13:32:50 +00:00

29 lines
593 B
Makefile

# Created by: ijliao
# $FreeBSD$
PORTNAME= script4rss
PORTVERSION= 0.4b
CATEGORIES= www
MASTER_SITES= SF
MAINTAINER= ports@FreeBSD.org
COMMENT= Easily create scripts to convert HTML pages to RSS feeds
USES= perl5 shebangfix
USE_BZIP2= yes
USE_PERL5= run
NO_BUILD= yes
PLIST_FILES= bin/script4rss
PORTEXAMPLES= *
SHEBANG_FILES= script4rss.pl
OPTIONS_DEFINE= EXAMPLES
do-install:
${INSTALL_SCRIPT} ${WRKSRC}/script4rss.pl \
${STAGEDIR}${PREFIX}/bin/script4rss
@${MKDIR} ${STAGEDIR}${EXAMPLESDIR}
${INSTALL_DATA} ${WRKSRC}/examples/* ${STAGEDIR}${EXAMPLESDIR}
.include <bsd.port.mk>