2000-09-14 08:53:20 +02:00
|
|
|
# New ports collection makefile for: sanduhr
|
|
|
|
# Date created: 14 September 2000
|
|
|
|
# Whom: Maxim Sobolev <sobomax@FreeBSD.org>
|
|
|
|
#
|
|
|
|
# $FreeBSD$
|
|
|
|
#
|
|
|
|
|
|
|
|
PORTNAME= sanduhr
|
2002-07-02 17:52:20 +02:00
|
|
|
PORTVERSION= 1.0
|
2000-09-14 08:53:20 +02:00
|
|
|
CATEGORIES= x11-clocks gnome
|
|
|
|
MASTER_SITES= http://www.mathematik.uni-kl.de/~wwwstoch/voss/
|
|
|
|
|
2003-07-29 11:12:37 +02:00
|
|
|
MAINTAINER= ports@FreeBSD.org
|
2003-03-07 07:14:21 +01:00
|
|
|
COMMENT= An alarm clock for GNOME desktop designed as a sand-glass
|
2000-09-14 08:53:20 +02:00
|
|
|
|
|
|
|
USE_X_PREFIX= yes
|
|
|
|
USE_GMAKE= yes
|
2000-10-05 09:17:31 +02:00
|
|
|
USE_GNOME= yes
|
2002-07-02 17:52:20 +02:00
|
|
|
USE_REINPLACE= yes
|
2000-09-14 08:53:20 +02:00
|
|
|
GNU_CONFIGURE= yes
|
2000-10-05 09:17:31 +02:00
|
|
|
CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \
|
|
|
|
LIBS="-L${LOCALBASE}/lib"
|
2001-06-08 13:41:16 +02:00
|
|
|
CONFIGURE_TARGET= --target=${MACHINE_ARCH}-unknown-freebsd${OSREL}
|
2000-09-14 08:53:20 +02:00
|
|
|
|
|
|
|
MAN1= sanduhr.1
|
|
|
|
|
|
|
|
pre-patch:
|
2002-07-02 17:52:20 +02:00
|
|
|
@${REINPLACE_CMD} -e 's|-lpthread|${PTHREAD_LIBS}|g ; \
|
2000-09-14 08:53:20 +02:00
|
|
|
s|DATADIRNAME=lib|DATADIRNAME=share|g' ${WRKSRC}/configure
|
2002-07-02 17:52:20 +02:00
|
|
|
@find ${WRKSRC} -name "Makefile.in*" | xargs ${REINPLACE_CMD} -e \
|
|
|
|
's|[(]datadir[)]/gnome/|(datadir)/|g ; \
|
|
|
|
s|[(]datadir[)]/locale|(prefix)/share/locale|g'
|
2000-09-14 08:53:20 +02:00
|
|
|
|
|
|
|
.include <bsd.port.mk>
|