summaryrefslogtreecommitdiff
path: root/math/dcdflib.c/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'math/dcdflib.c/Makefile')
-rw-r--r--math/dcdflib.c/Makefile7
1 files changed, 4 insertions, 3 deletions
diff --git a/math/dcdflib.c/Makefile b/math/dcdflib.c/Makefile
index ef2a7655b3c..d1df94a0fce 100644
--- a/math/dcdflib.c/Makefile
+++ b/math/dcdflib.c/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.18 2007/03/24 19:21:27 joerg Exp $
+# $NetBSD: Makefile,v 1.19 2009/12/12 22:29:00 asau Exp $
DISTNAME= dcdflib.c-1.1
PKGREVISION= 1
@@ -14,11 +14,12 @@ BUILD_DIRS= src
DIST_SUBDIR= ${PKGNAME_NOREV}
MAKE_ENV+= LIBOWN=${LIBOWN:Q} LIBGRP=${LIBGRP:Q}
+PKG_DESTDIR_SUPPORT= user-destdir
INSTALLATION_DIRS= include lib share/doc/dcdflib.c
post-install:
- ${INSTALL_DATA} ${WRKSRC}/doc/dcdflib.h ${PREFIX}/include
+ ${INSTALL_DATA} ${WRKSRC}/doc/dcdflib.h ${DESTDIR}${PREFIX}/include
cd ${WRKSRC} && ${INSTALL_DATA} README doc/dcdflib.chs \
- doc/dcdflib.fdoc ${PREFIX}/share/doc/dcdflib.c/
+ doc/dcdflib.fdoc ${DESTDIR}${PREFIX}/share/doc/dcdflib.c/
.include "../../mk/bsd.pkg.mk"