diff options
author | obache <obache@pkgsrc.org> | 2008-01-15 12:36:41 +0000 |
---|---|---|
committer | obache <obache@pkgsrc.org> | 2008-01-15 12:36:41 +0000 |
commit | 63de7d865e3c4127089080d1668bab27b1bf9e1d (patch) | |
tree | 2b73de57ec29c58d4f068e3e6a2eb8a53605eb72 | |
parent | eddbdc3756c848d49714106752163ee100bba58c (diff) | |
download | pkgsrc-63de7d865e3c4127089080d1668bab27b1bf9e1d.tar.gz |
Update HOMEPAGE and MASTER_SITES.
Add DESTDIR support.
Add modular X support.
-rw-r--r-- | x11/bbapm/Makefile | 20 |
1 files changed, 12 insertions, 8 deletions
diff --git a/x11/bbapm/Makefile b/x11/bbapm/Makefile index 556a1f6438f..1db96cd5fbb 100644 --- a/x11/bbapm/Makefile +++ b/x11/bbapm/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.11 2006/06/20 22:11:52 jlam Exp $ +# $NetBSD: Makefile,v 1.12 2008/01/15 12:36:41 obache Exp $ # based on # FreeBSD port: # ID: ports/x11-wm/bbapm/Makefile,v 1.5 2002/09/02 01:30:15 lioux Exp @@ -8,12 +8,14 @@ DISTNAME= bbapm-0.0.1 PKGREVISION= 2 CATEGORIES= x11 wm -MASTER_SITES= http://bbtools.windsofstorm.net/sources/ +MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=bbtools/} MAINTAINER= jschauma@NetBSD.org -HOMEPAGE= http://bbtools.windsofstorm.net/ +HOMEPAGE= http://bbtools.sourceforge.net/download.php?file=14 COMMENT= APM monitor for Blackbox +PKG_DESTDIR_SUPPORT= user-destdir + GNU_CONFIGURE= yes USE_LANGUAGES= c c++ @@ -27,18 +29,20 @@ LDFLAGS.Linux+= -lapm INSTALLATION_DIRS= bin ${PKGMANDIR}/man1 -.include "../../mk/x11.buildlink3.mk" +.include "../../x11/libICE/buildlink3.mk" +.include "../../x11/libSM/buildlink3.mk" +.include "../../x11/libX11/buildlink3.mk" 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}/${PKGMANDIR}/man1 - ${INSTALL_DATA_DIR} ${PREFIX}/share/bbtools + ${INSTALL_PROGRAM} ${WRKSRC}/bbapm ${DESTDIR}${PREFIX}/bin + ${INSTALL_MAN} ${WRKSRC}/data/bbapm.1 ${DESTDIR}${PREFIX}/${PKGMANDIR}/man1 + ${INSTALL_DATA_DIR} ${DESTDIR}${PREFIX}/share/bbtools .for a in README.bbapm bbapm.conf bbapm.nobb bbapm.style - ${INSTALL_DATA} ${WRKSRC}/data/${a} ${PREFIX}/share/bbtools + ${INSTALL_DATA} ${WRKSRC}/data/${a} ${DESTDIR}${PREFIX}/share/bbtools .endfor .include "../../mk/bsd.pkg.mk" |