summaryrefslogtreecommitdiff
path: root/news/slrnconf/Makefile
diff options
context:
space:
mode:
authorSergey A. Osokin <osa@FreeBSD.org>2003-06-13 23:24:07 +0000
committerSergey A. Osokin <osa@FreeBSD.org>2003-06-13 23:24:07 +0000
commitc57d4aa83c1fa54fde3833c45169c4a7a1cabc93 (patch)
tree5d3bdb16c7218a95badc7c91c29b6b17bb512d7b /news/slrnconf/Makefile
parentZebra-pj is zebra routing daemon with unreleased(uncommited) patches. (diff)
New port: graphical configuation utility for the newsreader slrn
Submitted by: Kirill Ponomarew <ponomarew@oberon.net> PR: 53298 Approved by: fjoe (implicit)
Notes
Notes: svn path=/head/; revision=82961
Diffstat (limited to '')
-rw-r--r--news/slrnconf/Makefile42
1 files changed, 42 insertions, 0 deletions
diff --git a/news/slrnconf/Makefile b/news/slrnconf/Makefile
new file mode 100644
index 000000000000..307118ad3f73
--- /dev/null
+++ b/news/slrnconf/Makefile
@@ -0,0 +1,42 @@
+# New ports collection makefile for: slrnconf
+# Date created: 13 Jun 2003
+# Whom: Kirill Ponomarew <ponomarew@oberon.net>
+#
+# $FreeBSD$
+
+PORTNAME= slrnconf
+PORTVERSION= 0.8.2
+CATEGORIES= news
+MASTER_SITES= http://home.arcor.de/kaffeetisch/downloads/
+
+MAINTAINER= ponomarew@oberon.net
+COMMENT= Graphical configuation utility for the newsreader slrn
+
+BUILD_DEPENDS= slrn:${PORTSDIR}/news/slrn \
+ ${SITE_PERL}/${PERL_ARCH}/Gtk.pm:${PORTSDIR}/x11-toolkits/p5-Gtk \
+ ${SITE_PERL}/Parse/RecDescent.pm:${PORTSDIR}/devel/p5-Parse-RecDescent
+
+USE_REINPLACE= yes
+
+post-patch:
+.for file in Makefile
+ @${REINPLACE_CMD} -e \
+ 's|%%PREFIX%%|${PREFIX}|g' \
+ ${WRKSRC}/${file}
+.endfor
+
+do-install:
+ @${MKDIR} ${PREFIX}/share/${PORTNAME}/help
+ @${INSTALL_DATA} ${WRKSRC}/help/* \
+ ${PREFIX}/share/${PORTNAME}/help
+ @${MKDIR} ${PREFIX}/share/${PORTNAME}/data
+ @${INSTALL_DATA} ${WRKSRC}/data/* \
+ ${PREFIX}/share/${PORTNAME}/data
+ @${INSTALL_SCRIPT} ${WRKSRC}/slrnconf \
+ ${PREFIX}/bin
+.for i in ABOUT COPYING README preferences.pm rc_grammar.pm ui.pm
+ @${INSTALL_DATA} ${WRKSRC}/${i} \
+ ${PREFIX}/share/${PORTNAME}
+.endfor
+
+.include <bsd.port.mk>