diff options
author | joerg <joerg> | 2008-06-20 01:09:05 +0000 |
---|---|---|
committer | joerg <joerg> | 2008-06-20 01:09:05 +0000 |
commit | 7d15c2c527b0cb171788f5360a5baca8cd9db73e (patch) | |
tree | bb388f6b2532587595653e67cce25229ed050cb8 /time/asclock-gtk/Makefile | |
parent | 534b5bd9ce0ca747418c84f41f29a7fd1e7121a2 (diff) | |
download | pkgsrc-7d15c2c527b0cb171788f5360a5baca8cd9db73e.tar.gz |
Add DESTDIR support.
Diffstat (limited to 'time/asclock-gtk/Makefile')
-rw-r--r-- | time/asclock-gtk/Makefile | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/time/asclock-gtk/Makefile b/time/asclock-gtk/Makefile index e7d7afbabfc..143494a0d4f 100644 --- a/time/asclock-gtk/Makefile +++ b/time/asclock-gtk/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.26 2007/01/08 15:04:51 joerg Exp $ +# $NetBSD: Makefile,v 1.27 2008/06/20 01:09:38 joerg Exp $ # DISTNAME= asclock-gtk-2.1.10beta @@ -10,6 +10,8 @@ MASTER_SITES= ${MASTER_SITE_LOCAL} # www.asclock.org is no more MAINTAINER= pkgsrc-users@NetBSD.org COMMENT= Dockable clock and calendar with themes for GTK+ +PKG_DESTDIR_SUPPORT= user-destdir + NO_SRC_ON_FTP= Already in MASTER_SITE_LOCAL WRKSRC= ${WRKDIR}/asclock-gtk @@ -20,7 +22,7 @@ PLIST_SRC= ${PKGDIR}/PLIST \ BUILD_TARGET= asclock -INSTALLATION_DIRS= bin +INSTALLATION_DIRS= bin share/asclock-gtk share/doc/asclock-gtk pre-configure: cd ${WRKSRC}; ${LN} -sf themes/classic default_theme @@ -30,12 +32,10 @@ pre-install: ${RM} -rf ${WRKSRC}/themes/themes do-install: - ${INSTALL_PROGRAM} ${WRKSRC}/asclock ${PREFIX}/bin/asclock-gtk - ${INSTALL_DATA_DIR} ${PREFIX}/share/doc/asclock-gtk - ${INSTALL_DATA} ${WRKSRC}/README.THEMES ${PREFIX}/share/doc/asclock-gtk - ${INSTALL_DATA_DIR} ${PREFIX}/share/asclock-gtk - ${CP} -R ${WRKSRC}/themes/* ${PREFIX}/share/asclock-gtk - ${CHOWN} -R ${SHAREOWN}:${SHAREGRP} ${PREFIX}/share/asclock-gtk + ${INSTALL_PROGRAM} ${WRKSRC}/asclock ${DESTDIR}${PREFIX}/bin/asclock-gtk + ${INSTALL_DATA} ${WRKSRC}/README.THEMES ${DESTDIR}${PREFIX}/share/doc/asclock-gtk + ${CP} -R ${WRKSRC}/themes/* ${DESTDIR}${PREFIX}/share/asclock-gtk + ${CHOWN} -R ${SHAREOWN}:${SHAREGRP} ${DESTDIR}${PREFIX}/share/asclock-gtk .include "../../x11/gtk/buildlink3.mk" .include "../../x11/libXext/buildlink3.mk" |