diff options
author | bapt <bapt@FreeBSD.org> | 2017-10-05 19:46:44 +0800 |
---|---|---|
committer | bapt <bapt@FreeBSD.org> | 2017-10-05 19:46:44 +0800 |
commit | 40bb56f586c490f33a055685a505c977604be745 (patch) | |
tree | 4bb54b58d482541a7cdac213b530be73e5bea0ed /x11-wm | |
parent | e643fb0c95f5ffee3f01688ca3f2f02221190d26 (diff) | |
download | freebsd-ports-gnome-40bb56f586c490f33a055685a505c977604be745.tar.gz freebsd-ports-gnome-40bb56f586c490f33a055685a505c977604be745.tar.zst freebsd-ports-gnome-40bb56f586c490f33a055685a505c977604be745.zip |
Use helpers to avoid including pre.mk and post.mk
Diffstat (limited to 'x11-wm')
-rw-r--r-- | x11-wm/libcompizconfig/Makefile | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/x11-wm/libcompizconfig/Makefile b/x11-wm/libcompizconfig/Makefile index 4ae6109abfd0..61337da4504f 100644 --- a/x11-wm/libcompizconfig/Makefile +++ b/x11-wm/libcompizconfig/Makefile @@ -9,6 +9,8 @@ MASTER_SITES= http://releases.compiz.org/${PORTVERSION}/ MAINTAINER= freebsd-ports@dan.me.uk COMMENT= Alternative configuration system for Compiz +LICENSE= GPLv2 + BUILD_DEPENDS= ${LOCALBASE}/libdata/pkgconfig/compiz.pc:x11-wm/compiz GNU_CONFIGURE= yes @@ -27,12 +29,7 @@ INOTIFY_DESC?= Enable inotify support INOTIFY_LIB_DEPENDS= libinotify.so:devel/libinotify INOTIFY_LDFLAGS= -linotify -.include <bsd.port.pre.mk> - post-patch: -.if empty(PORT_OPTIONS:MINOTIFY) - @${REINPLACE_CMD} -e 's|sys/inotify.h||' ${WRKSRC}/configure -.endif @echo "OSVERSION=${OSVERSION}" @${REINPLACE_CMD} -e 's|malloc.h|stdlib.h|' \ ${WRKSRC}/src/main.c \ @@ -41,9 +38,12 @@ post-patch: ${WRKSRC}/src/ini.c \ ${WRKSRC}/backend/ini.c +post-patch-INOTIFY-off: + @${REINPLACE_CMD} -e 's|sys/inotify.h||' ${WRKSRC}/configure + post-install: .for l in compizconfig/backends/libini.so compiz/libccp.so libcompizconfig.so.0.0.0 ${STRIP_CMD} ${STAGEDIR}${PREFIX}/lib/${l} .endfor -.include <bsd.port.post.mk> +.include <bsd.port.mk> |