diff options
Diffstat (limited to 'time/asclock-xlib')
-rw-r--r-- | time/asclock-xlib/Makefile | 14 |
1 files changed, 8 insertions, 6 deletions
diff --git a/time/asclock-xlib/Makefile b/time/asclock-xlib/Makefile index 458b3c27f87..7ae32d36de7 100644 --- a/time/asclock-xlib/Makefile +++ b/time/asclock-xlib/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.18 2006/12/27 13:37:40 joerg Exp $ +# $NetBSD: Makefile,v 1.19 2008/06/20 01:09:38 joerg Exp $ # DISTNAME= asclock-xlib-2.0.11 @@ -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 X11 +PKG_DESTDIR_SUPPORT= user-destdir + NO_SRC_ON_FTP= Already in MASTER_SITE_LOCAL WRKSRC= ${WRKDIR}/asclock-xlib @@ -18,6 +20,8 @@ USE_IMAKE= YES PLIST_SRC= ${PKGDIR}/PLIST \ ${PKGDIR}/PLIST.themes +INSTALLATION_DIRS= share/doc/asclock-xlib share/asclock-xlib + pre-configure: cd ${WRKSRC}; ${LN} -sf themes/classic default_theme @@ -25,12 +29,10 @@ pre-install: ${RM} -f ${WRKSRC}/themes/Freeamp/Makefile* post-install: - ${INSTALL_DATA_DIR} ${PREFIX}/share/doc/asclock-xlib cd ${WRKSRC}; ${INSTALL_DATA} COPYING README.THEMES \ - ${PREFIX}/share/doc/asclock-xlib - ${INSTALL_DATA_DIR} ${PREFIX}/share/asclock-xlib - ${CP} -R ${WRKSRC}/themes/* ${PREFIX}/share/asclock-xlib - ${CHOWN} -R ${SHAREOWN}:${SHAREGRP} ${PREFIX}/share/asclock-xlib + ${DESTDIR}${PREFIX}/share/doc/asclock-xlib + ${CP} -R ${WRKSRC}/themes/* ${DESTDIR}${PREFIX}/share/asclock-xlib + ${CHOWN} -R ${SHAREOWN}:${SHAREGRP} ${DESTDIR}${PREFIX}/share/asclock-xlib .include "../../x11/libXext/buildlink3.mk" .include "../../x11/libXpm/buildlink3.mk" |