summaryrefslogtreecommitdiff
path: root/x11/bbapm/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'x11/bbapm/Makefile')
-rw-r--r--x11/bbapm/Makefile31
1 files changed, 31 insertions, 0 deletions
diff --git a/x11/bbapm/Makefile b/x11/bbapm/Makefile
new file mode 100644
index 00000000000..444038432b5
--- /dev/null
+++ b/x11/bbapm/Makefile
@@ -0,0 +1,31 @@
+# $NetBSD: Makefile,v 1.1.1.1 2002/09/07 20:22:52 jschauma Exp $
+# based on
+# FreeBSD port:
+# ID: ports/x11-wm/bbapm/Makefile,v 1.5 2002/09/02 01:30:15 lioux Exp
+# OpenBSD patch for apm, available from:
+# http://bbtools.windsofstorm.net/sources/bbapm-0.0.1-openbsd-patch.diff
+
+DISTNAME= bbapm-0.0.1
+CATEGORIES= x11 wm
+MASTER_SITES= http://bbtools.windsofstorm.net/sources/
+
+MAINTAINER= jschauma@netbsd.org
+HOMEPAGE= http://bbtools.windsofstorm.net/
+COMMENT= APM monitor for Blackbox
+
+GNU_CONFIGURE= yes
+LDFLAGS+= -Wl,-R${X11BASE}/lib
+
+post-patch:
+ ${SED} -e 's,@PREFIX@,${PREFIX},' ${WRKSRC}/data/bbapm.1.tmp > \
+ ${WRKSRC}/data/bbapm.1
+
+do-install:
+ ${INSTALL_PROGRAM} ${WRKSRC}/bbapm ${PREFIX}/bin
+ ${INSTALL_MAN} ${WRKSRC}/data/bbapm.1 ${PREFIX}/man/man1/
+ ${INSTALL_DATA_DIR} ${PREFIX}/share/bbtools
+.for a in README.bbapm bbapm.conf bbapm.nobb bbapm.style
+ ${INSTALL_DATA} ${WRKSRC}/data/${a} ${PREFIX}/share/bbtools
+.endfor
+
+.include "../../mk/bsd.pkg.mk"