summaryrefslogtreecommitdiffstats
path: root/graphics/gd2
diff options
context:
space:
mode:
authormi <mi@FreeBSD.org>2002-01-21 18:27:03 +0000
committermi <mi@FreeBSD.org>2002-01-21 18:27:03 +0000
commitefef79ffd72b903354dc1a4a37db32f74cb1084d (patch)
tree83e82caa8be073be0f6d82a10467e5940b12785f /graphics/gd2
parentb78be4aba48cabc6f771c41c7f34d24efa86daa7 (diff)
downloadFreeBSD-ports-efef79ffd72b903354dc1a4a37db32f74cb1084d.zip
FreeBSD-ports-efef79ffd72b903354dc1a4a37db32f74cb1084d.tar.gz
Obey hier(7) by installing the include files into
${LOCALBASE}/include, rather than include/gd. Each file is named gd*.h anyway. Bump the PORTREVISION. Other ports should be fine, because the have the -I${LOCALBASE}/include anyway, but should keep the -I${LOCALBASE}/include/gd for a while too.
Diffstat (limited to 'graphics/gd2')
-rw-r--r--graphics/gd2/Makefile5
-rw-r--r--graphics/gd2/files/Makefile.bsd4
-rw-r--r--graphics/gd2/pkg-plist17
3 files changed, 13 insertions, 13 deletions
diff --git a/graphics/gd2/Makefile b/graphics/gd2/Makefile
index 20251e3..c024006 100644
--- a/graphics/gd2/Makefile
+++ b/graphics/gd2/Makefile
@@ -7,6 +7,7 @@
PORTNAME= gd
PORTVERSION= 2.0.1
+PORTREVISION= 1
CATEGORIES+= graphics
MASTER_SITES= http://www.boutell.com/gd/http/ \
ftp://ftp.boutell.com/pub/boutell/gd/ \
@@ -22,8 +23,8 @@ MAINTAINER?= ports@FreeBSD.org
BUILD_DEPENDS+= bzip2:${PORTSDIR}/archivers/bzip2
.endif
LIB_DEPENDS= png:${PORTSDIR}/graphics/png \
- jpeg.9:${PORTSDIR}/graphics/jpeg \
- freetype.7:${PORTSDIR}/print/freetype2
+ jpeg:${PORTSDIR}/graphics/jpeg \
+ freetype:${PORTSDIR}/print/freetype2
LATEST_LINK= gd2
diff --git a/graphics/gd2/files/Makefile.bsd b/graphics/gd2/files/Makefile.bsd
index a2021c6..718ca5c 100644
--- a/graphics/gd2/files/Makefile.bsd
+++ b/graphics/gd2/files/Makefile.bsd
@@ -41,11 +41,11 @@ ${PROGS} ${TESTS}: ${SHLIB_NAME} lib${LIB}.a
CFLAGS="${CFLAGS}" -ECFLAGS -f bsd.prog.mk
install:
- mkdir -p ${PREFIX}/include/gd
+ mkdir -p ${PREFIX}/include
make LIB=${LIB} LIBDIR="${PREFIX}/lib" NOPROFILE=true \
SHLIB_MAJOR=${SHLIB_MAJOR} SHLIB_MINOR=${SHLIB_MINOR} \
-f bsd.lib.mk install
- cd ${.CURDIR} && ${INSTALL_DATA} ${INCS} ${PREFIX}/include/gd
+ cd ${.CURDIR} && ${INSTALL_DATA} ${INCS} ${PREFIX}/include
cd ${.CURDIR} && ${INSTALL_PROGRAM} ${PROGS} "${PREFIX}/bin/"
${INSTALL_SCRIPT} "${.CURDIR}/bdftogd" "${PREFIX}/bin/"
diff --git a/graphics/gd2/pkg-plist b/graphics/gd2/pkg-plist
index d27067e..1b1b312 100644
--- a/graphics/gd2/pkg-plist
+++ b/graphics/gd2/pkg-plist
@@ -6,15 +6,14 @@ bin/gdtopng
bin/pngtogd
bin/pngtogd2
bin/webpng
-include/gd/gd.h
-include/gd/gd_io.h
-include/gd/gdcache.h
-include/gd/gdfontg.h
-include/gd/gdfontl.h
-include/gd/gdfontmb.h
-include/gd/gdfonts.h
-include/gd/gdfontt.h
+include/gd.h
+include/gd_io.h
+include/gdcache.h
+include/gdfontg.h
+include/gdfontl.h
+include/gdfontmb.h
+include/gdfonts.h
+include/gdfontt.h
lib/libgd.a
lib/libgd.so
lib/libgd.so.3.0
-@dirrm include/gd
OpenPOWER on IntegriCloud