1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-17 03:25:46 +00:00
freebsd-ports/x11/fluxbg/Makefile
Dmitry Marakasov 9b0b6063e9 - Always check OPSYS along with OSVERSION
Approved by:	portmgr blanket
2017-01-12 15:16:45 +00:00

37 lines
832 B
Makefile

# Created by: Adam Weinberger <adamw@FreeBSD.org>
# $FreeBSD$
PORTNAME= fluxbg
PORTVERSION= 0.7
PORTREVISION= 14
CATEGORIES= x11
MASTER_SITES= SF/${PORTNAME}/${PORTNAME}/${PORTNAME}-${PORTVERSION}
MAINTAINER= jgh@FreeBSD.org
COMMENT= Background changer for fluxbox/blackbox
LIB_DEPENDS= libgtkmm-2.0.so:x11-toolkits/gtkmm20
RUN_DEPENDS= fbsetbg:x11-wm/fluxbox
GNU_CONFIGURE= yes
USES= pathfix pkgconfig
PLIST_FILES= bin/fluxbg \
bin/fluxbgd \
bin/fluxbg_conf
SUB_FILES= pkg-message
SUB_LIST= PORTNAME=${PORTNAME}
post-patch:
@${REINPLACE_CMD} -e 's|/usr/local|${LOCALBASE}|g ; \
s|/usr/X11R6|${LOCALBASE}|g' ${WRKSRC}/src/fluxbg_conf.cc
.include <bsd.port.pre.mk>
.if ${OPSYS} == FreeBSD && ${OSVERSION} < 1100077
# chmod -R bug
post-extract:
${CHMOD} +x ${WRKSRC}/autom4te.cache
.endif
.include <bsd.port.post.mk>