aboutsummaryrefslogtreecommitdiff
path: root/graphics/gd2/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'graphics/gd2/Makefile')
-rw-r--r--graphics/gd2/Makefile21
1 files changed, 1 insertions, 20 deletions
diff --git a/graphics/gd2/Makefile b/graphics/gd2/Makefile
index 1eade0f4c520..d89bf3167e0a 100644
--- a/graphics/gd2/Makefile
+++ b/graphics/gd2/Makefile
@@ -7,6 +7,7 @@
PORTNAME= gd
PORTVERSION= 2.0.11
+PORTREVISION= 1
CATEGORIES+= graphics
MASTER_SITES= http://www.boutell.com/gd/http/ \
ftp://ftp.boutell.com/pub/boutell/gd/ \
@@ -40,29 +41,9 @@ MAKE_ARGS+= -j2
MAKE_ARGS+= $v="${$v}"
.endfor
-.if defined(HAVE_UNISYS_LICENSE)
-WITH_LZW= yes
-.endif
-
-.if !defined(WITH_LZW)
-pre-fetch:
- @${ECHO_CMD} "************************************************************"
- @${ECHO_CMD} "* If you live outside US and Canada, you can define *"
- @${ECHO_CMD} "* WITH_LZW to enable GIF compression support. *"
- @${ECHO_CMD} "************************************************************"
-.endif
-
post-extract:
@${CP} ${FILESDIR}/g* ${WRKSRC}
-post-patch:
-.if !defined(WITH_LZW)
- ${MV} ${WRKSRC}/gd_gif_out.c ${WRKSRC}/gd_gif_out.c.nogif && \
- ${SED} -e "s|#define LZW_LICENCED||g" \
- < ${WRKSRC}/gd_gif_out.c.nogif \
- > ${WRKSRC}/gd_gif_out.c
-.endif
-
post-install:
.if !defined(NOPORTDOCS)
@${MKDIR} ${DOCSDIR}