7eeb51b534
Do it for all packages that * mention perl, or * have a directory name starting with p5-*, or * depend on a package starting with p5- like last time, for 5.18, where this didn't lead to complaints. Let me know if you have any this time.
33 lines
921 B
Makefile
33 lines
921 B
Makefile
# $NetBSD: Makefile,v 1.20 2014/05/29 23:36:35 wiz Exp $
|
|
#
|
|
|
|
DISTNAME= netmaj-2.0.7
|
|
PKGREVISION= 6
|
|
CATEGORIES= games
|
|
MASTER_SITES= http://www.sfc.wide.ad.jp/~kusune/netmaj/files/
|
|
|
|
MAINTAINER= pkgsrc-users@NetBSD.org
|
|
HOMEPAGE= http://www.sfc.wide.ad.jp/~kusune/netmaj/
|
|
COMMENT= Mahjongg game with network and 1-4 player(s) support
|
|
|
|
WRKSRC= ${WRKDIR}/netmaj
|
|
USE_TOOLS+= perl:run
|
|
HAS_CONFIGURE= yes
|
|
CONFIGURE_ENV+= OPSYS=${OPSYS:Q}
|
|
CONFIGURE_ENV+= CURSES_LIBS=${BUILDLINK_LDADD.ncursesw:Q}
|
|
|
|
INSTALL_MAKE_FLAGS+= PERL=${PERL5:Q}
|
|
INSTALL_TARGET= install install-pf
|
|
DOCDIR= ${PREFIX}/share/doc/netmaj
|
|
|
|
pre-configure:
|
|
cp ${FILESDIR}/configure.sh ${WRKSRC}/configure
|
|
chmod +x ${WRKSRC}/configure
|
|
chmod -x ${WRKSRC}/auto.pf
|
|
|
|
post-install:
|
|
${INSTALL_DATA_DIR} ${DESTDIR}${DOCDIR}
|
|
${INSTALL_DATA} ${WRKSRC}/html/* ${DESTDIR}${DOCDIR}
|
|
|
|
.include "../../devel/ncursesw/buildlink3.mk"
|
|
.include "../../mk/bsd.pkg.mk"
|