37 lines
975 B
Makefile
37 lines
975 B
Makefile
# Created by: Kirill Ponomarew <ponomarew@oberon.net>
|
|
# $FreeBSD$
|
|
|
|
PORTNAME= slrnconf
|
|
PORTVERSION= 0.8.4
|
|
PORTREVISION= 5
|
|
CATEGORIES= news
|
|
MASTER_SITES= http://home.arcor.de/kaffeetisch/downloads/
|
|
|
|
MAINTAINER= c.petrik.sosa@gmail.com
|
|
COMMENT= Graphical configuration utility for the newsreader slrn
|
|
|
|
BUILD_DEPENDS= p5-Gtk2>=0:${PORTSDIR}/x11-toolkits/p5-Gtk2 \
|
|
p5-Parse-RecDescent>=0:${PORTSDIR}/devel/p5-Parse-RecDescent
|
|
|
|
USE_BZIP2= yes
|
|
USES= perl5
|
|
MAKE_ARGS+= PREFIX=${PREFIX}
|
|
|
|
NO_STAGE= yes
|
|
do-install:
|
|
@${MKDIR} ${DATADIR}/help
|
|
@${INSTALL_DATA} ${WRKSRC}/help/* ${DATADIR}/help
|
|
@${MKDIR} ${DATADIR}/data
|
|
@${INSTALL_DATA} ${WRKSRC}/data/* ${DATADIR}/data
|
|
@${INSTALL_SCRIPT} ${WRKSRC}/slrnconf ${PREFIX}/bin
|
|
.for i in preferences.pm rc_grammar.pm ui.pm
|
|
@${INSTALL_DATA} ${WRKSRC}/${i} ${DATADIR}
|
|
.endfor
|
|
.if !defined(NOPORTDOCS)
|
|
@${MKDIR} ${DOCSDIR}
|
|
.for i in ABOUT COPYING README
|
|
@${INSTALL_DATA} ${WRKSRC}/${i} ${DOCSDIR}
|
|
.endfor
|
|
.endif
|
|
|
|
.include <bsd.port.mk>
|