mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-18 03:46:03 +00:00
72ea7e696b
With hat: portmgr Sponsored by: Absolight
42 lines
1.0 KiB
Makefile
42 lines
1.0 KiB
Makefile
# Created by: trevor
|
|
# $FreeBSD$
|
|
|
|
PORTNAME= obconf
|
|
PORTVERSION= 2.0.4
|
|
PORTREVISION= 2
|
|
CATEGORIES= x11-wm
|
|
MASTER_SITES= http://openbox.org/dist/obconf/
|
|
|
|
MAINTAINER= novel@FreeBSD.org
|
|
COMMENT= Preferences manager for the Openbox window manager
|
|
|
|
LIB_DEPENDS= libstartup-notification-1.so:x11/startup-notification \
|
|
libobrender.so:x11-wm/openbox
|
|
|
|
USES= pkgconfig desktop-file-utils shared-mime-info
|
|
USE_GNOME= libglade2
|
|
GNU_CONFIGURE= yes
|
|
CONFIGURE_ENV= OPENBOX_CFLAGS="`pkg-config --cflags obrender-3.5 obt-3.5`" \
|
|
OPENBOX_LIBS="`pkg-config --libs obrender-3.5 obt-3.5`"
|
|
CONFIGURE_ARGS= --sysconfdir=${STAGEDIR}${PREFIX}/etc/openbox
|
|
MAKE_ARGS= mkdir_p='${MKDIR}'
|
|
|
|
CPPFLAGS+= -I${LOCALBASE}/include
|
|
LDFLAGS+= -L${LOCALBASE}/lib
|
|
|
|
PORTDOCS= ABOUT-NLS AUTHORS README TODO
|
|
|
|
OPTIONS_DEFINE= DOCS NLS
|
|
OPTIONS_SUB= yes
|
|
|
|
NLS_USES= gettext
|
|
NLS_CONFIGURE_ENABLE= nls
|
|
|
|
post-install-DOCS-on:
|
|
@${MKDIR} ${STAGEDIR}${DOCSDIR}
|
|
.for file in ${PORTDOCS}
|
|
${INSTALL_DATA} ${WRKSRC}/${file} ${STAGEDIR}${DOCSDIR}
|
|
.endfor
|
|
|
|
.include <bsd.port.mk>
|