2000-09-05 15:26:58 +02:00
|
|
|
# Ports collection Makefile for: bitnotes
|
|
|
|
# Date created: 5 September 2000
|
|
|
|
# Whom: Maxim Sobolev <sobomax@FreeBSD.org>
|
|
|
|
#
|
|
|
|
# $FreeBSD$
|
|
|
|
#
|
|
|
|
|
|
|
|
PORTNAME= bitnotes
|
|
|
|
PORTVERSION= 0.9
|
|
|
|
CATEGORIES= deskutils gnome
|
|
|
|
MASTER_SITES= http://www.bitbuilder.com/bitnotes/
|
|
|
|
DISTNAME= BitNotes-${PORTVERSION}
|
|
|
|
EXTRACT_SUFX= .tgz
|
|
|
|
|
|
|
|
MAINTAINER= sobomax@FreeBSD.org
|
|
|
|
|
2001-06-05 19:51:20 +02:00
|
|
|
BUILD_DEPENDS= automake:${PORTSDIR}/devel/automake
|
|
|
|
|
2000-09-05 15:26:58 +02:00
|
|
|
WRKSRC= ${WRKDIR}/BitNotes
|
|
|
|
|
|
|
|
USE_X_PREFIX= yes
|
|
|
|
USE_AUTOCONF= yes
|
|
|
|
USE_GMAKE= yes
|
2000-10-05 09:10:50 +02:00
|
|
|
USE_GNOME= yes
|
2000-09-05 15:26:58 +02:00
|
|
|
CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \
|
2000-10-05 09:10:50 +02:00
|
|
|
LIBS="-L${LOCALBASE}/lib"
|
2000-09-05 15:26:58 +02:00
|
|
|
|
|
|
|
AUTOCONF= autoconf && \
|
2001-03-29 18:35:19 +02:00
|
|
|
${PERL} -pi -e 's|-lpthread|${PTHREAD_LIBS}|g ; \
|
2000-09-05 15:26:58 +02:00
|
|
|
s|DATADIRNAME=lib|DATADIRNAME=share|g' \
|
|
|
|
${WRKSRC}/configure
|
|
|
|
|
|
|
|
pre-patch:
|
|
|
|
@find ${WRKSRC} -type l | xargs ${RM} -f
|
|
|
|
@cd ${WRKSRC} && automake --add-missing 2>/dev/null
|
|
|
|
@${RM} -f ${WRKSRC}/config.cache
|
|
|
|
@find ${WRKSRC} \( -name "Makefile.in" -or -name "*.make" \) | xargs ${PERL} -pi -e \
|
|
|
|
's|\$\(datadir\)/gnome/|\$\(datadir\)/|g ; \
|
|
|
|
s|\$\(datadir\)/locale|\$\(prefix\)/share/locale|g'
|
|
|
|
|
|
|
|
.include <bsd.port.mk>
|