From 037b57d5ddf535a98a11963bfb6c13ede0dbfa32 Mon Sep 17 00:00:00 2001 From: jlam Date: Tue, 4 Mar 2008 14:44:05 +0000 Subject: Mechanical changes to add DESTDIR support to packages that install their files via a custom do-install target. --- geography/xrmap-anthems/Makefile | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'geography/xrmap-anthems') diff --git a/geography/xrmap-anthems/Makefile b/geography/xrmap-anthems/Makefile index bcb7d0e3d53..63889eda1e4 100644 --- a/geography/xrmap-anthems/Makefile +++ b/geography/xrmap-anthems/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.6 2006/09/06 10:00:25 rillig Exp $ +# $NetBSD: Makefile,v 1.7 2008/03/04 14:44:05 jlam Exp $ # DISTNAME= anthems-1.1 @@ -14,11 +14,13 @@ COMMENT= National anthems (text) for xrmap DEPENDS+= xrmap-base>=2.29:../../geography/xrmap-base +PKG_DESTDIR_SUPPORT= user-destdir + WRKSRC= ${WRKDIR} NO_BUILD= yes INSTALLATION_DIRS= share/rmap do-install: - cd ${WRKSRC} && pax -rw -pp anthems ${PREFIX}/share/rmap + cd ${WRKSRC} && pax -rw -pp anthems ${DESTDIR}${PREFIX}/share/rmap .include "../../mk/bsd.pkg.mk" -- cgit v1.2.3