# $NetBSD: Makefile,v 1.7 2012/10/05 13:45:19 asau 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 REPLACE_PERL= ${WRKSRC}/pts.pl DATADIR= ${PREFIX}/share/pts RCD_SCRIPTS= pts INSTALLATION_DIRS= sbin do-install: ${INSTALL_DATA_DIR} ${DESTDIR}${DATADIR} ${INSTALL_DATA_DIR} ${DESTDIR}${DATADIR}/logs ${INSTALL_DATA_DIR} ${DESTDIR}${DATADIR}/dstats ${INSTALL_DATA_DIR} ${DESTDIR}${DATADIR}/locale for config_files in pts.ban pts.ini pts.motd \ pts.news pts.secure; do \ ${INSTALL_DATA} ${WRKSRC}/$$config_files \ ${DESTDIR}${DATADIR}/$$config_files; \ done for locales in en.msg ja.msg; do \ ${INSTALL_DATA} ${WRKSRC}/locale/$$locales \ ${DESTDIR}${DATADIR}/locale/$$locales; \ done ${INSTALL_SCRIPT} ${WRKSRC}/pts.pl ${DESTDIR}${PREFIX}/sbin/pts .include "../../lang/perl5/buildlink3.mk" .include "../../mk/bsd.pkg.mk"