2001-11-06 14:30:20 +00:00
|
|
|
# New ports collection makefile for: bbconf
|
|
|
|
# Date created: 29 October 2001
|
|
|
|
# Whom: Stijn Hoop <stijn@win.tue.nl>
|
|
|
|
#
|
|
|
|
# $FreeBSD$
|
|
|
|
#
|
|
|
|
|
|
|
|
PORTNAME= bbconf
|
2004-08-10 18:48:23 +00:00
|
|
|
PORTVERSION= 1.10
|
2006-02-23 10:40:44 +00:00
|
|
|
PORTREVISION= 1
|
2001-11-06 14:30:20 +00:00
|
|
|
CATEGORIES= x11-wm
|
2002-09-24 13:51:26 +00:00
|
|
|
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
|
|
|
|
MASTER_SITE_SUBDIR= ${PORTNAME}
|
2001-11-06 14:30:20 +00:00
|
|
|
|
2004-08-10 11:04:41 +00:00
|
|
|
MAINTAINER= ports@FreeBSD.org
|
2003-02-21 14:19:11 +00:00
|
|
|
COMMENT= Configurator for the Blackbox window manager
|
2001-11-06 14:30:20 +00:00
|
|
|
|
|
|
|
USE_X_PREFIX= yes
|
2002-08-28 06:06:22 +00:00
|
|
|
USE_QT_VER= 3
|
2004-08-10 18:48:23 +00:00
|
|
|
USE_PERL5_BUILD= yes
|
2006-02-23 10:40:44 +00:00
|
|
|
GNU_CONFIGURE= yes
|
2005-04-12 03:26:56 +00:00
|
|
|
CONFIGURE_TARGET= --build=${MACHINE_ARCH}-portbld-freebsd${OSREL}
|
2001-11-06 14:30:20 +00:00
|
|
|
|
|
|
|
MAN1= bbconf.1
|
2004-08-10 18:48:23 +00:00
|
|
|
PORTDOCS= AUTHORS ChangeLog README README.html TODO
|
|
|
|
PLIST_FILES= bin/bbconf \
|
2006-02-23 10:40:44 +00:00
|
|
|
lib/bbconf/plugins/libbbconf.la \
|
2004-08-10 18:48:23 +00:00
|
|
|
lib/bbconf/plugins/libbbconf.so \
|
2006-02-23 10:40:44 +00:00
|
|
|
lib/bbconf/plugins/libkeybindings.la \
|
2004-08-10 18:48:23 +00:00
|
|
|
lib/bbconf/plugins/libkeybindings.so \
|
2006-02-23 10:40:44 +00:00
|
|
|
lib/bbconf/plugins/libmenu.la \
|
2004-08-10 18:48:23 +00:00
|
|
|
lib/bbconf/plugins/libmenu.so \
|
2006-02-23 10:40:44 +00:00
|
|
|
lib/bbconf/plugins/libthemes.la \
|
2004-08-10 18:48:23 +00:00
|
|
|
lib/bbconf/plugins/libthemes.so
|
|
|
|
PLIST_DIRS= lib/bbconf/plugins lib/bbconf
|
2001-11-06 14:30:20 +00:00
|
|
|
|
2006-03-06 20:39:53 +00:00
|
|
|
.include <bsd.port.pre.mk>
|
|
|
|
|
2006-03-23 21:08:27 +00:00
|
|
|
.if ${ARCH} == "amd64" || ${ARCH} == "ia64"
|
|
|
|
CFLAGS+= -fPIC -DPIC
|
2006-03-06 20:39:53 +00:00
|
|
|
.endif
|
|
|
|
|
2002-08-28 06:06:22 +00:00
|
|
|
post-patch:
|
2004-08-10 18:48:23 +00:00
|
|
|
@${PERL} -pi -e 's|: install-docDATA|:|g' ${WRKSRC}/Makefile.in
|
|
|
|
@${PERL} -pi -e 's|-O2 ||g ; \
|
|
|
|
s|-lpthread|${PTHREAD_LIBS}|g' ${WRKSRC}/configure
|
|
|
|
|
|
|
|
post-install:
|
|
|
|
.if !defined(NOPORTDOCS)
|
|
|
|
@${MKDIR} ${DOCSDIR}
|
|
|
|
.for file in ${PORTDOCS}
|
|
|
|
${INSTALL_DATA} ${WRKSRC}/${file} ${DOCSDIR}
|
|
|
|
.endfor
|
|
|
|
.endif
|
2002-08-28 06:06:22 +00:00
|
|
|
|
2006-03-06 20:39:53 +00:00
|
|
|
.include <bsd.port.post.mk>
|