1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-22 00:35:15 +00:00

- Stage support

- Use new style LIB_DEPENDS syntax
- Add desktop-file-utils and shared-mime-info to USES
This commit is contained in:
Roman Bogorodskiy 2014-03-29 15:35:16 +00:00
parent e7aaf81c4e
commit ec04f12495
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=349544

View File

@ -9,15 +9,15 @@ MASTER_SITES= http://openbox.org/dist/obconf/
MAINTAINER= novel@FreeBSD.org
COMMENT= Preferences manager for the Openbox window manager
LIB_DEPENDS= startup-notification-1:${PORTSDIR}/x11/startup-notification \
obrender:${PORTSDIR}/x11-wm/openbox
LIB_DEPENDS= libstartup-notification-1.so:${PORTSDIR}/x11/startup-notification \
libobrender.so:${PORTSDIR}/x11-wm/openbox
USES= pkgconfig
USES= pkgconfig desktop-file-utils shared-mime-info
USE_GNOME= gnomehier 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=${PREFIX}/etc/openbox
CONFIGURE_ARGS= --sysconfdir=${STAGEDIR}${PREFIX}/etc/openbox
MAKE_ARGS= mkdir_p='${MKDIR}'
CPPFLAGS+= -I${LOCALBASE}/include
@ -25,8 +25,6 @@ LDFLAGS+= -L${LOCALBASE}/lib
PORTDOCS= ABOUT-NLS AUTHORS README TODO
NO_STAGE= yes
OPTIONS_DEFINE= DOCS NLS
.include <bsd.port.options.mk>
@ -43,7 +41,7 @@ post-install:
.if ${PORT_OPTIONS:MDOCS}
@${MKDIR} ${DOCSDIR}
.for file in ${PORTDOCS}
${INSTALL_DATA} ${WRKSRC}/${file} ${DOCSDIR}
${INSTALL_DATA} ${WRKSRC}/${file} ${STAGEDIR}${DOCSDIR}
.endfor
.endif