freebsd-ports/x11-wm/obconf/Makefile
Roman Bogorodskiy 5501dd4c8c - Make buttons work
- Remove a warning saying the source was not reviewed by maintainer
2006-02-16 11:42:55 +00:00

58 lines
1.6 KiB
Makefile

# New ports collection makefile for: obconf
# Date created: 2002-10-13
# Whom: trevor
#
# $FreeBSD$
#
PORTNAME= obconf
PORTVERSION= 1.5
PORTREVISION= 5
CATEGORIES= x11-wm
MASTER_SITES= http://icculus.org/openbox/obconf/
MAINTAINER= ports@FreeBSD.org
COMMENT= Preferences manager for the Openbox window manager
BUILD_DEPENDS= openbox:${PORTSDIR}/x11-wm/openbox
LIB_DEPENDS= startup-notification-1.0:${PORTSDIR}/x11/startup-notification
CONFIGURE_ARGS= --datadir=${PREFIX}/share/openbox --prefix=${PREFIX} \
--sysconfdir=${PREFIX}/etc/openbox
CONFIGURE_ENV+= LDFLAGS="${LDFLAGS} -export-dynamic"
DOCS= ABOUT-NLS AUTHORS COPYING README TODO
GNU_CONFIGURE= yes
PLIST= ${WRKDIR}/pkg-plist
USE_GMAKE= yes
USE_GNOME= gtk20 libglade2
USE_X_PREFIX= yes
pre-install:
${ECHO_CMD} bin/obconf > ${PLIST}
${ECHO_CMD} share/openbox/applications/obconf.desktop >> ${PLIST}
${ECHO_CMD} share/openbox/obconf/obconf.glade >> ${PLIST}
.if !defined(NOPORTDOCS)
.for ii in ${DOCS}
${ECHO_CMD} share/openbox/obconf/${ii} >> ${PLIST}
.endfor
.endif
.for ii in share/openbox/applications share/openbox/obconf
${ECHO_CMD} @dirrm ${ii} >> ${PLIST}
.endfor
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/src/obconf ${PREFIX}/bin
${MKDIR} ${PREFIX}/share/openbox/applications \
${PREFIX}/share/openbox/obconf
.if !defined(NOPORTDOCS)
.for ii in ${DOCS}
${INSTALL_DATA} ${WRKSRC}/${ii} ${PREFIX}/share/openbox/obconf
.endfor
.endif
${INSTALL_DATA} ${WRKSRC}/obconf.desktop \
${PREFIX}/share/openbox/applications
${INSTALL_DATA} ${WRKSRC}/src/obconf.glade \
${PREFIX}/share/openbox/obconf
.include <bsd.port.mk>