freebsd-ports/devel/devhelp/Makefile

35 lines
844 B
Makefile
Raw Normal View History

# New ports collection makefile for: devhelp
# Date created: 29 May 2003
# Whom: Adam Weinberger <adamw@FreeBSD.org>
#
# $FreeBSD$
#
PORTNAME= devhelp
PORTVERSION= 0.6.0
CATEGORIES?= devel gnome
MASTER_SITES= ${MASTER_SITE_GNOME}
MASTER_SITE_SUBDIR= sources/${PORTNAME}/0.6
DIST_SUBDIR= gnome2
MAINTAINER?= adamw@FreeBSD.org
COMMENT= Developer help browser for GNOME 2
USE_BZIP2= yes
USE_X_PREFIX= yes
USE_GMAKE= yes
USE_GNOME= gtk20 gnomehack gnomeprefix
USE_REINPLACE= yes
USE_LIBTOOL= yes
INSTALLS_SHLIB= yes
CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \
LIBS="-L${LOCALBASE}/lib"
post-patch:
@${REINPLACE_CMD} -e 's|-lpthread|${PTHREAD_LIBS}|g ; \
s|DATADIRNAME=lib|DATADIRNAME=share|g' ${WRKSRC}/configure
@${REINPLACE_CMD} -e 's|@LIBS@|@LIBS@ ${PTHREAD_LIBS}|' \
${WRKSRC}/src/Makefile.in
.include <bsd.port.mk>