1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-04 22:33:27 +00:00
freebsd-ports/games/atomix/Makefile
2000-11-01 13:09:00 +00:00

29 lines
759 B
Makefile

# New ports collection makefile for: atomix
# Date created: 30 January 2000
# Whom: Yukihiro Nakai <nakai@FreeBSD.org>
#
# $FreeBSD$
#
PORTNAME= atomix
PORTVERSION= 0.4.0
CATEGORIES= games gnome
MASTER_SITES= http://www.informatik.uni-oldenburg.de/~pearl/download/
MAINTAINER= nakai@FreeBSD.org
USE_X_PREFIX= yes
USE_GNOME= yes
GNU_CONFIGURE= yes
CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \
LIBS="-L${LOCALBASE}/lib"
pre-patch:
@${PERL} -pi -e 's|-lpthread|-pthread|g ; \
s|DATADIRNAME=lib|DATADIRNAME=share|g' ${WRKSRC}/configure
@find ${WRKSRC} -name "Makefile.in" | xargs ${PERL} -pi -e \
's|\$\(datadir\)/gnome/|\$\(datadir\)/|g ; \
s|\$\(datadir\)/locale|\$\(prefix\)/share/locale|g'
.include <bsd.port.mk>