svn commit: r317593 - head/deskutils/jlj
Emanuel Haupt
ehaupt at FreeBSD.org
Tue May 7 09:15:49 UTC 2013
Author: ehaupt
Date: Tue May 7 09:15:49 2013
New Revision: 317593
URL: http://svnweb.freebsd.org/changeset/ports/317593
Log:
- Convert to use shebangfix USES flag
- Trim header
- Use new options framework for DOCS
Modified:
head/deskutils/jlj/Makefile
Modified: head/deskutils/jlj/Makefile
==============================================================================
--- head/deskutils/jlj/Makefile Tue May 7 09:04:19 2013 (r317592)
+++ head/deskutils/jlj/Makefile Tue May 7 09:15:49 2013 (r317593)
@@ -1,9 +1,5 @@
-# New ports collection makefile for: jlj
-# Date created: 29 April 2001
-# Whom: Pete Fritchman <petef at databits.net>
-#
+# Created by: Pete Fritchman <petef at databits.net>
# $FreeBSD$
-#
PORTNAME= jlj
PORTVERSION= 2.12
@@ -17,6 +13,7 @@ COMMENT= Jerry's command-line LiveJourna
WRKSRC= ${WRKDIR}/${PORTNAME}
+USES= shebangfix
USE_PERL5_RUN= yes
NO_BUILD= yes
SUB_FILES= pkg-message
@@ -24,19 +21,20 @@ SUB_FILES= pkg-message
PLIST_FILES= bin/jlj share/examples/jlj/dot.livejournal.rc
PLIST_DIRS= share/examples/jlj
-.if !defined(NOPORTDOCS)
+SHEBANG_FILES= jlj.pl
+
+.include <bsd.port.options.mk>
+
+.if ${PORT_OPTIONS:MDOCS}
PORTDOCS= README
.endif
-post-patch:
- @${REINPLACE_CMD} -e 's!/usr/bin/perl!${PERL}!' ${WRKSRC}/jlj.pl
-
do-install:
${INSTALL_SCRIPT} ${WRKSRC}/jlj.pl ${PREFIX}/bin/jlj
@${MKDIR} ${PREFIX}/share/examples/jlj
${INSTALL_DATA} ${WRKSRC}/.livejournal.rc \
${PREFIX}/share/examples/jlj/dot.livejournal.rc
-.if !defined(NOPORTDOCS)
+.if ${PORT_OPTIONS:MDOCS}
@${MKDIR} ${DOCSDIR}
${INSTALL_DATA} ${WRKSRC}/README.JLJ ${DOCSDIR}/README
.endif
More information about the svn-ports-all
mailing list