diff options
Diffstat (limited to 'www')
-rw-r--r-- | www/swiggle/Makefile | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/www/swiggle/Makefile b/www/swiggle/Makefile index 007a2a63b71..fe6a873be29 100644 --- a/www/swiggle/Makefile +++ b/www/swiggle/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.10 2007/07/19 23:00:47 xtraeme Exp $ +# $NetBSD: Makefile,v 1.11 2009/03/06 00:06:28 snj Exp $ DISTNAME= swiggle-0.4 CATEGORIES= www graphics @@ -10,6 +10,7 @@ COMMENT= Lightweight image gallery generator PKG_INSTALLATION_TYPES= overwrite pkgviews +PKG_DESTDIR_SUPPORT= user-destdir SUBST_CLASSES+= mf SUBST_STAGE.mf= post-patch @@ -19,7 +20,7 @@ SUBST_SED.mf= -e "s/gcc/${CC}/" -e "s/-O3//" INSTALLATION_DIRS= bin do-install: - ${INSTALL_PROGRAM} ${WRKSRC}/swiggle ${PREFIX}/bin/ + ${INSTALL_PROGRAM} ${WRKSRC}/swiggle ${DESTDIR}${PREFIX}/bin/ .include "../../graphics/jpeg/buildlink3.mk" .include "../../graphics/libexif/buildlink3.mk" |