diff options
author | Trevor Johnson <trevor@FreeBSD.org> | 2002-03-15 00:27:53 +0000 |
---|---|---|
committer | Trevor Johnson <trevor@FreeBSD.org> | 2002-03-15 00:27:53 +0000 |
commit | 3439c6876f20f419710219b69bc3d00b91a02f9b (patch) | |
tree | 1c0c2e2936a4e971fbfd0960c601f8ae978a268a /x11-wm/clementine/Makefile | |
parent | Depend on freetype again (diff) |
Add new port of the Clementine window manager.
Diffstat (limited to 'x11-wm/clementine/Makefile')
-rw-r--r-- | x11-wm/clementine/Makefile | 63 |
1 files changed, 63 insertions, 0 deletions
diff --git a/x11-wm/clementine/Makefile b/x11-wm/clementine/Makefile new file mode 100644 index 000000000000..f2ffa30eb3d6 --- /dev/null +++ b/x11-wm/clementine/Makefile @@ -0,0 +1,63 @@ +# New ports collection makefile for: clementine +# Date created: 2002-03-13 +# Whom: trevor +# +# $FreeBSD$ +# + +PORTNAME= clementine +PORTVERSION= 0.0.6 +CATEGORIES= x11-wm +MASTER_SITES= ${MASTER_SITE_SOURCEFORGE} +MASTER_SITE_SUBDIR= ${PORTNAME} + +MAINTAINER= trevor@FreeBSD.org + +RUN_DEPENDS= xv:${PORTSDIR}/graphics/xv \ + rxvt:${PORTSDIR}/x11/rxvt + +PLIST= ${WRKDIR}/pkg-plist +PKGMESSAGE= ${WRKDIR}/pkg-message +USE_GMAKE= yes +USE_X_PREFIX= yes +DOCS= COPYING HISTORY LICENSE + +do-patch: + ${PERL} -pi -e 's:^CFLAGS:IGNORE:g ; s:^DEFINES:IGNORE:g' \ + ${WRKSRC}/Makefile + ${PERL} -pi -e 's:./clementine:${PREFIX}/bin/clementine:g' \ + ${WRKSRC}/windowmanager.cpp + +pre-install: + ${ECHO_CMD} bin/clementine > ${PLIST} + for i in `${LS} ${WRKSRC} | ${GREP} look-`; do \ + ${ECHO_CMD} share/clementine/$$i >> ${PLIST}; \ + done + ${ECHO_CMD} share/clementine/keys >> ${PLIST} +.if !defined(NOPORTDOCS) +.for i in ${DOCS} + ${ECHO_CMD} share/doc/clementine/${i} >> ${PLIST} +.endfor + ${ECHO_CMD} @dirrm share/doc/clementine >> ${PLIST} +.endif + ${ECHO_CMD} @dirrm share/clementine >> ${PLIST} + ${ECHO_CMD} "*" > ${PKGMESSAGE} + ${ECHO_CMD} "* To customize clementine, copy the keys file to ~/keys and" >> ${PKGMESSAGE} + ${ECHO_CMD} "* copy one of the look- files to ~/look; edit them as needed." >> ${PKGMESSAGE} + ${ECHO_CMD} "*" >> ${PKGMESSAGE} + +do-install: + ${INSTALL_PROGRAM} ${WRKSRC}/clementine ${PREFIX}/bin + ${MKDIR} ${DATADIR} + ${INSTALL_DATA} ${WRKSRC}/keys ${WRKSRC}/look-* ${DATADIR} +.if !defined(NOPORTDOCS) + ${MKDIR} ${DOCSDIR} +.for i in ${DOCS} + ${INSTALL_DATA} ${WRKSRC}/${i} ${DOCSDIR} +.endfor +.endif + +post-install: + @${CAT} ${PKGMESSAGE} + +.include <bsd.port.mk> |