1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-11 07:22:22 +00:00
freebsd-ports/news/slrnconf/Makefile
Dmitry Marakasov ca47addbf7 - Add LICENSE
- Add NO_ARCH
- Switch to options helpers
2016-08-17 09:02:56 +00:00

43 lines
1.1 KiB
Makefile

# Created by: Kirill Ponomarew <ponomarew@oberon.net>
# $FreeBSD$
PORTNAME= slrnconf
PORTVERSION= 0.8.4
PORTREVISION= 6
CATEGORIES= news
MASTER_SITES= http://home.arcor.de/kaffeetisch/downloads/
MAINTAINER= ports@FreeBSD.org
COMMENT= Graphical configuration utility for the newsreader slrn
LICENSE= GPLv2+
LICENSE_FILE= ${WRKSRC}/COPYING
BUILD_DEPENDS= p5-Gtk2>=0:x11-toolkits/p5-Gtk2 \
p5-Parse-RecDescent>=0:devel/p5-Parse-RecDescent
USES= perl5 shebangfix tar:bzip2
SHEBANG_FILES= slrnconf.in
MAKE_ARGS= PREFIX=${PREFIX}
NO_ARCH= yes
OPTIONS_DEFINE= DOCS
do-install:
@${MKDIR} ${STAGEDIR}${DATADIR}/help
${INSTALL_DATA} ${WRKSRC}/help/* ${STAGEDIR}${DATADIR}/help
@${MKDIR} ${STAGEDIR}${DATADIR}/data
${INSTALL_DATA} ${WRKSRC}/data/* ${STAGEDIR}${DATADIR}/data
${INSTALL_SCRIPT} ${WRKSRC}/slrnconf ${STAGEDIR}${PREFIX}/bin
.for i in preferences.pm rc_grammar.pm ui.pm
${INSTALL_DATA} ${WRKSRC}/${i} ${STAGEDIR}${DATADIR}
.endfor
do-install-DOCS-on:
@${MKDIR} ${STAGEDIR}${DOCSDIR}
.for i in ABOUT COPYING README
${INSTALL_DATA} ${WRKSRC}/${i} ${STAGEDIR}${DOCSDIR}
.endfor
.include <bsd.port.mk>