1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-22 04:17:44 +00:00
freebsd-ports/x11-wm/obconf/Makefile
Trevor Johnson 299053a786 Enable compilation with GCC 2.X.
PR:		64645
Submitted by:	vs
2004-04-19 19:42:28 +00:00

63 lines
1.7 KiB
Makefile
Raw Blame History

This file contains invisible Unicode characters

This file contains invisible Unicode characters that are indistinguishable to humans but may be processed differently by a computer. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

# New ports collection makefile for: obconf
# Date created: 2002-10-13
# Whom: trevor
#
# $FreeBSD$
#
PORTNAME= obconf
PORTVERSION= 1.5
PORTREVISION= 2
CATEGORIES= x11-wm
MASTER_SITES= http://icculus.org/openbox/obconf/
MAINTAINER= trevor@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
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-configure:
@${CAT} ${PKGMESSAGE}
@${ECHO_CMD} 
@${ECHO_CMD} Waiting ten seconds--press control-C to cancel build.
@sleep 10
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>