diff options
author | Trevor Johnson <trevor@FreeBSD.org> | 2000-12-17 09:52:13 +0000 |
---|---|---|
committer | Trevor Johnson <trevor@FreeBSD.org> | 2000-12-17 09:52:13 +0000 |
commit | abc03967eea61f2a0dbe8df77427065cc94fc376 (patch) | |
tree | 80dbc9799e9847b466b5a71cd6d1dc0e86ffa019 /x11/buttonbox/Makefile | |
parent | Remove redundant rmdir line. (diff) |
new port of ButtonBox 0.03, an Xlib-based application launcher
Notes
Notes:
svn path=/head/; revision=36040
Diffstat (limited to 'x11/buttonbox/Makefile')
-rw-r--r-- | x11/buttonbox/Makefile | 47 |
1 files changed, 47 insertions, 0 deletions
diff --git a/x11/buttonbox/Makefile b/x11/buttonbox/Makefile new file mode 100644 index 000000000000..c11004d8bddd --- /dev/null +++ b/x11/buttonbox/Makefile @@ -0,0 +1,47 @@ +# New ports collection makefile for: buttonbox +# Date created: 2000-12-17 +# Whom: trevor +# +# $FreeBSD$ +# + +PORTNAME= buttonbox +PORTVERSION= 0.03 +CATEGORIES= x11 +MASTER_SITES= http://www.sto-kerrig.org/free-software/projects/button-box/ +DISTNAME= ${PORTNAME:S/b/B/g}-${PORTVERSION} + +MAINTAINER= trevor@FreeBSD.org + +DOCDIR= share/doc/${PORTNAME} +DOCS= COPYING ChangeLog DEDICATION README TODO +PLIST= ${WRKDIR}/pkg-plist + +USE_X_PREFIX= yes + +do-build: + cd ${WRKSRC} && ${CC} ${CFLAGS} -o buttonbox -L${X11BASE}/lib \ + -I${X11BASE}/include -lX11 -lXext button.c configuration.c \ + colour.c dispatcher.c main.c + +pre-install: + ${ECHO} bin/buttonbox > ${PLIST} + ${ECHO} lib/X11/app-defaults/ButtonBox.ad >> ${PLIST} +.if !defined(NOPORTDOCS) + for i in ${DOCS}; \ + do ${ECHO} ${DOCDIR}/$${i} >> ${PLIST}; \ + done + ${ECHO} @dirrm ${DOCDIR} >> ${PLIST} +.endif + +do-install: + ${INSTALL_DATA} ${WRKSRC}/ButtonBox.ad ${X11BASE}/lib/X11/app-defaults/ + ${INSTALL_PROGRAM} ${WRKSRC}/buttonbox ${X11BASE}/bin/ +.if !defined(NOPORTDOCS) + ${MKDIR} ${PREFIX}/${DOCDIR} + for i in ${DOCS}; \ + do ${INSTALL_DATA} ${WRKSRC}/$${i} ${PREFIX}/${DOCDIR}; \ + done +.endif + +.include <bsd.port.mk> |