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 | a3badafeb8244d5c81b4a25cc1717775f7f30bd6 (patch) | |
tree | 2b73de57ec29c58d4f068e3e6a2eb8a53605eb72 /x11/bbapm | |
parent | a82b45db72dbaf356a3c58de2b7133549390e033 (diff) | |
download | pkgsrc-a3badafeb8244d5c81b4a25cc1717775f7f30bd6.tar.gz |
Update HOMEPAGE and MASTER_SITES.
Add DESTDIR support.
Add modular X support.
Diffstat (limited to 'x11/bbapm')
-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" |