diff options
Diffstat (limited to 'x11/libcapplet/Makefile')
-rw-r--r-- | x11/libcapplet/Makefile | 43 |
1 files changed, 43 insertions, 0 deletions
diff --git a/x11/libcapplet/Makefile b/x11/libcapplet/Makefile new file mode 100644 index 000000000..72be0c3da --- /dev/null +++ b/x11/libcapplet/Makefile @@ -0,0 +1,43 @@ +# New ports collection makefile for: libcapplet +# Date created: 10 July 2002 +# Whom: Maxim Soboleb <sobomax@FreeBSD.org> +# +# $FreeBSD$ +# $MCom: ports/x11/libcapplet/Makefile,v 1.4 2006/10/07 19:06:46 ahze Exp $ +# + +PORTNAME= libcapplet +PORTVERSION= 1.4.0.5 +PORTREVISION= 8 +CATEGORIES= x11 gnome +MASTER_SITES= http://people.freebsd.org/~sobomax/ +DIST_SUBDIR= gnome + +MAINTAINER= gnome@FreeBSD.org +COMMENT= A library for writing custom applets for GNOME Control Center + +USE_BZIP2= yes +USE_GNOME= gnomelibs +USE_LDCONFIG= yes +USE_GETOPT_LONG=yes +MAKE_ENV= X11BASE="${LOCALBASE}" LOCALBASE="${LOCALBASE}" LDFLAGS="${LDFLAGS}" + +.include <bsd.port.pre.mk> + +.if ${OSVERSION} >= 500041 +post-build: + @${REINPLACE_CMD} -e 's/-lgnugetopt //' ${WRKSRC}/cappletConf.sh +.endif + +do-install: + ${INSTALL_PROGRAM} ${WRKSRC}/libcapplet.so.5 ${PREFIX}/lib + ${INSTALL_DATA} ${WRKSRC}/libcapplet.a ${PREFIX}/lib + ${LN} -sf libcapplet.so.5 ${PREFIX}/lib/libcapplet.so + ${MKDIR} ${PREFIX}/include/libcapplet1 + ${INSTALL_DATA} ${WRKSRC}/capplet-widget.h \ + ${PREFIX}/include/libcapplet1 + ${MKDIR} ${PREFIX}/share/idl + ${INSTALL_DATA} ${WRKSRC}/control-center.idl ${PREFIX}/share/idl + ${INSTALL_SCRIPT} ${WRKSRC}/cappletConf.sh ${PREFIX}/etc + +.include <bsd.port.post.mk> |