summaryrefslogtreecommitdiff
path: root/x11/fltk/Makefile
diff options
context:
space:
mode:
authorwiz <wiz>2000-08-28 13:38:56 +0000
committerwiz <wiz>2000-08-28 13:38:56 +0000
commit6f7fcdfed59a6956b54a75a06a5ce51814099dab (patch)
tree5a56d04abc0051694a01a9e73325f55695ffb854 /x11/fltk/Makefile
parentc36014b3d6e96a6bc8efcfd931bb946cdf388491 (diff)
downloadpkgsrc-6f7fcdfed59a6956b54a75a06a5ce51814099dab.tar.gz
Don't install manually, modify program's Makefile to install in the correct
location (fixes double installation of docs found in latest bulk build).
Diffstat (limited to 'x11/fltk/Makefile')
-rw-r--r--x11/fltk/Makefile10
1 files changed, 3 insertions, 7 deletions
diff --git a/x11/fltk/Makefile b/x11/fltk/Makefile
index b02f955350f..5a443020206 100644
--- a/x11/fltk/Makefile
+++ b/x11/fltk/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.7 2000/08/04 03:38:12 jlam Exp $
+# $NetBSD: Makefile,v 1.8 2000/08/28 13:38:56 wiz Exp $
#
DISTNAME= fltk-1.0.9-source
@@ -26,6 +26,8 @@ USE_LIBTOOL= # defined
GNU_CONFIGURE= # defined
CONFIGURE_ENV+= CPPFLAGS="${CPPFLAGS}"
CPPFLAGS+= -I${X11PREFIX}/include # GL/GL.h
+MAKE_ENV+= INSTALL_DATA_DIR="${INSTALL_DATA_DIR}"
+MAKE_ENV+= INSTALL_DATA="${INSTALL_DATA}"
# When the API changes and breaks binary-compatibility with the previous
# version, increment the MAJOR by 1 and reset the MINOR to 0. Otherwise,
@@ -35,10 +37,4 @@ FLTK_MAJOR= 1
FLTK_MINOR= 3
MAKE_ENV+= FLTK_MAJOR="${FLTK_MAJOR}" FLTK_MINOR="${FLTK_MINOR}"
-DOCDIR= ${PREFIX}/share/doc/html/fltk
-
-post-install:
- ${INSTALL_DATA_DIR} ${DOCDIR}
- cd ${WRKSRC}/documentation; ${INSTALL_DATA} *.html *.gif *.jpg ${DOCDIR}
-
.include "../../mk/bsd.pkg.mk"