pkgsrc-wip/pts/Makefile
2004-04-26 21:03:34 +00:00

43 lines
1 KiB
Makefile

# $NetBSD: Makefile,v 1.4 2004/04/26 21:03:34 blef Exp $
DISTNAME= pts-0.20a
CATEGORIES= games
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=ptns/}
MAINTAINER= david@netbsd-fr.org
HOMEPAGE= http://ptns.sourceforge.net
COMMENT= Perl TetriNET Server
DEPENDS+= p5-Config-IniFiles>=2.20:../../devel/p5-Config-IniFiles
NO_BUILD= YES
USE_BUILDLINK3= YES
USE_PKGINSTALL= YES
REPLACE_PERL= ${WRKSRC}/pts.pl
DATADIR= ${PREFIX}/share/pts
RCD_SCRIPTS= pts
do-install:
${INSTALL_DATA_DIR} ${DATADIR}
${INSTALL_DATA_DIR} ${DATADIR}/logs
${INSTALL_DATA_DIR} ${DATADIR}/dstats
${INSTALL_DATA_DIR} ${DATADIR}/locale
for config_files in pts.ban pts.ini pts.motd \
pts.news pts.secure; do \
${INSTALL_DATA} ${WRKSRC}/$$config_files \
${DATADIR}/$$config_files; \
done
for locales in en.msg ja.msg; do \
${INSTALL_DATA} ${WRKSRC}/locale/$$locales \
${DATADIR}/locale/$$locales; \
done
${INSTALL_SCRIPT} ${WRKSRC}/pts.pl ${PREFIX}/sbin/pts
.include "../../lang/perl5/buildlink3.mk"
.include "../../mk/bsd.pkg.mk"