user-destdir support

This commit is contained in:
joerg 2009-07-07 17:54:26 +00:00
parent fd7f441622
commit 2d9b76196b
2 changed files with 12 additions and 7 deletions

View file

@ -1,4 +1,4 @@
# $NetBSD: Makefile,v 1.10 2007/01/26 23:24:02 joerg Exp $
# $NetBSD: Makefile,v 1.11 2009/07/07 17:56:35 joerg Exp $
#
DISTNAME= xdesktopwaves-1.1
@ -10,18 +10,21 @@ MAINTAINER= pkgsrc-users@NetBSD.org
HOMEPAGE= http://xdesktopwaves.sourceforge.net/
COMMENT= Simulates water waves on the X Windows desktop
PKG_DESTDIR_SUPPORT= user-destdir
USE_DIRS+= xdg-1.1
MAKE_FLAGS+= CFLAGS=${CFLAGS:M*:Q}
MAKE_FLAGS+= LFLAGS=${LDFLAGS:M*:Q}
INSTALLATION_DIRS= bin ${PKGMANDIR}/man1 share/doc/xdesktopwaves
INSTALLATION_DIRS= bin ${PKGMANDIR}/man1 share/doc/xdesktopwaves \
share/pixmaps
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/xdesktopwaves ${PREFIX}/bin/
${INSTALL_MAN} ${WRKSRC}/xdesktopwaves.1 ${PREFIX}/${PKGMANDIR}/man1/
${INSTALL_DATA} ${WRKSRC}/README ${PREFIX}/share/doc/xdesktopwaves/
${INSTALL_DATA} ${WRKSRC}/xdesktopwaves.xpm ${PREFIX}/share/pixmaps/
${INSTALL_PROGRAM} ${WRKSRC}/xdesktopwaves ${DESTDIR}${PREFIX}/bin/
${INSTALL_MAN} ${WRKSRC}/xdesktopwaves.1 ${DESTDIR}${PREFIX}/${PKGMANDIR}/man1/
${INSTALL_DATA} ${WRKSRC}/README ${DESTDIR}${PREFIX}/share/doc/xdesktopwaves/
${INSTALL_DATA} ${WRKSRC}/xdesktopwaves.xpm ${DESTDIR}${PREFIX}/share/pixmaps/
.include "../../x11/libXext/buildlink3.mk"
.include "../../x11/xextproto/buildlink3.mk"

View file

@ -1,4 +1,4 @@
# $NetBSD: Makefile,v 1.2 2009/06/04 11:40:24 hasso Exp $
# $NetBSD: Makefile,v 1.3 2009/07/07 17:54:26 joerg Exp $
#
DISTNAME= xdg-user-dirs-0.10
@ -9,6 +9,8 @@ MAINTAINER= pkgsrc-users@NetBSD.org
HOMEPAGE= http://www.freedesktop.org/wiki/Software/xdg-user-dirs
COMMENT= Tool to manage "well known" user directories
PKG_DESTDIR_SUPPORT= user-destdir
GNU_CONFIGURE= yes
USE_PKGLOCALEDIR= yes
USE_TOOLS+= msgfmt