aboutsummaryrefslogtreecommitdiffstats
path: root/games/kbilliards/Makefile
diff options
context:
space:
mode:
authorkrion <krion@FreeBSD.org>2004-11-18 01:42:38 +0800
committerkrion <krion@FreeBSD.org>2004-11-18 01:42:38 +0800
commitd9f9fb3f6daa520503cfc91b01c146e1e7d306fb (patch)
treec979b31db7d2215ab257b958472e3aa759d4a161 /games/kbilliards/Makefile
parente4e6d84c3c3eb57f12b5637c975cb629eb2d0c78 (diff)
downloadfreebsd-ports-gnome-d9f9fb3f6daa520503cfc91b01c146e1e7d306fb.tar.gz
freebsd-ports-gnome-d9f9fb3f6daa520503cfc91b01c146e1e7d306fb.tar.zst
freebsd-ports-gnome-d9f9fb3f6daa520503cfc91b01c146e1e7d306fb.zip
Update to version 0.5
PR: ports/73905 Submitted by: Ports Fury
Diffstat (limited to 'games/kbilliards/Makefile')
-rw-r--r--games/kbilliards/Makefile18
1 files changed, 11 insertions, 7 deletions
diff --git a/games/kbilliards/Makefile b/games/kbilliards/Makefile
index c7f291d63ba0..82f372849d93 100644
--- a/games/kbilliards/Makefile
+++ b/games/kbilliards/Makefile
@@ -5,20 +5,24 @@
# $FreeBSD$
PORTNAME= kbilliards
-PORTVERSION= 0.4.b
-PORTREVISION= 2
+PORTVERSION= 0.5
CATEGORIES= games kde
-MASTER_SITES= http://members.xoom.virgilio.it/samuele_c/kbilliards/
-DISTNAME= ${PORTNAME}-${PORTVERSION:S/.b/b/}
+MASTER_SITES= http://xoomer.virgilio.it/samuele_c/kbilliards/
MAINTAINER= ports@FreeBSD.org
COMMENT= Funny billiards simulator game for KDE
+USE_BZIP2= yes
USE_KDELIBS_VER= 3
+USE_REINPLACE= yes
USE_GMAKE= yes
GNU_CONFIGURE= yes
-CONFIGURE_TARGET=
-CONFIGURE_ARGS+=--build=${MACHINE_ARCH}-portbld-freebsd${OSREL}
-CONFIGURE_ENV+= LDFLAGS="${LDFLAGS} -L${LOCALBASE}/lib"
+
+post-patch:
+ @${REINPLACE_CMD} -e 's|-O2||g ; \
+ s|-lpthread|${PTHREAD_LIBS}|g' ${WRKSRC}/${CONFIGURE_SCRIPT}
+ @${REINPLACE_CMD} -e \
+ 's|$$(LIB_KDEPRINT)$$|$$(LIB_KDEPRINT) $$(LIBPTHREAD)|g' \
+ ${WRKSRC}/src/Makefile.in
.include <bsd.port.mk>