pkgsrc/games/crossfire-srv/Makefile
tv c487cb967a Libtool fix for PR pkg/26633, and other issues. Update libtool to 1.5.10
in the process.  (More information on tech-pkg.)

Bump PKGREVISION and BUILDLINK_DEPENDS of all packages using libtool and
installing .la files.

Bump PKGREVISION (only) of all packages depending directly on the above
via a buildlink3 include.
2004-10-03 00:12:51 +00:00

50 lines
1.6 KiB
Makefile

# $NetBSD: Makefile,v 1.15 2004/10/03 00:14:43 tv Exp $
#
DISTNAME= crossfire-1.0.0
PKGNAME= crossfire-server-1.0.0
PKGREVISION= 2
CATEGORIES= games x11
MASTER_SITES= ftp://ftp.scruz.net/users/mwedel/public/
DISTFILES= ${CF_SRC} ${CF_MAPS}
MAINTAINER= root@garbled.net
HOMEPAGE= http://crossfire.real-time.com/
COMMENT= X11 multi/single player game similar to gauntlet and nethack
EXTRACT_ONLY= ${CF_SRC}
CF_SRC= crossfire-1.0.0.tar.bz2
CF_MAPS= crossfire-1.0.0-maps.tar.bz2
USE_BUILDLINK3= yes
USE_X11= yes
USE_GNU_TOOLS+= make
GNU_CONFIGURE= yes
USE_PERL5= yes
CONFIGURE_ARGS+= --with-includes=-I${LOCALBASE}/include
MAKE_ENV+= EXTRA_INCLUDES=-I${LOCALBASE}/include
REPLACE_PERL= lib/xpmtopix.pl lib/adm/check-xpm.pl lib/adm/make_xpm_file.pl
REPLACE_PERL+= lib/adm/map_expand.pl lib/adm/mapslitter.pl
REPLACE_PERL+= lib/adm/archsearch.pl lib/adm/collect_images.pl
REPLACE_PERL+= lib/collect.pl lib/util.pl lib/checkarch.pl
REPLACE_PERL+= utils/crossloop.pl utils/metaserver.pl
REPLACE_PERL+= doc/include_html.pl doc/playbook/make_index.pl
REPLACE_PERL+= doc/spoiler-html/makeps.pl
post-install:
cd ${LOCALBASE}/share/crossfire && \
${GZCAT} ${DISTDIR}/${CF_MAPS} | ${GTAR} xmf -
@${CHOWN} ${ROOT_USER}:games ${LOCALBASE}/bin/crossfire
@${CHMOD} 2755 ${LOCALBASE}/bin/crossfire
@${CHOWN} -R ${ROOT_USER}:games ${LOCALBASE}/share/crossfire
@${CHOWN} -R ${ROOT_USER}:games ${LOCALBASE}/var/crossfire
@${CHMOD} -R g+w ${LOCALBASE}/var/crossfire
.include "../../graphics/png/buildlink3.mk"
.include "../../graphics/xpm/buildlink3.mk"
.include "../../devel/dmalloc/buildlink3.mk"
.include "../../mk/xaw.buildlink3.mk"
.include "../../mk/bsd.pkg.mk"