aboutsummaryrefslogtreecommitdiff
path: root/graphics/libafterimage
diff options
context:
space:
mode:
authorPete Fritchman <petef@FreeBSD.org>2002-02-28 22:59:53 +0000
committerPete Fritchman <petef@FreeBSD.org>2002-02-28 22:59:53 +0000
commit2e0efacd1b053c3405cefe0f7ee40fac89f346ce (patch)
treeede8315228a2e1d8bc4834e839d9c29992113884 /graphics/libafterimage
parent6665362a98c9f196f37a19d6f6a5dda182e1384b (diff)
downloadports-2e0efacd1b053c3405cefe0f7ee40fac89f346ce.tar.gz
ports-2e0efacd1b053c3405cefe0f7ee40fac89f346ce.zip
Notes
Diffstat (limited to 'graphics/libafterimage')
-rw-r--r--graphics/libafterimage/Makefile11
-rw-r--r--graphics/libafterimage/distinfo2
-rw-r--r--graphics/libafterimage/files/patch-apps:Makefile.in13
3 files changed, 21 insertions, 5 deletions
diff --git a/graphics/libafterimage/Makefile b/graphics/libafterimage/Makefile
index 089261e31c43..6ff93bd3b27e 100644
--- a/graphics/libafterimage/Makefile
+++ b/graphics/libafterimage/Makefile
@@ -7,7 +7,7 @@
#
PORTNAME= libafterimage
-PORTVERSION= 0.91
+PORTVERSION= 0.92
CATEGORIES= graphics
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
MASTER_SITE_SUBDIR= afterstep
@@ -23,8 +23,6 @@ LIB_DEPENDS= AfterBase.0:${PORTSDIR}/devel/libafterbase \
tiff.4:${PORTSDIR}/graphics/tiff \
freetype.8:${PORTSDIR}/print/freetype2
-WRKSRC= ${WRKDIR}/libAfterImage
-
USE_X_PREFIX= yes
GNU_CONFIGURE= yes
CONFIGURE_TARGET= --build=${ARCH}-portbld-freebsd${OSREL}
@@ -40,13 +38,18 @@ MAN3= afterimage.3x ascmap.3x asfont.3x asimage.3x asvisual.3x blender.3x \
.include <bsd.port.pre.mk>
.if defined(WITH_MMX) && (${ARCH} == "i386")
-CONFIGURE_ARGS+= --enable--mmx-optimization
+CONFIGURE_ARGS+= --enable-mmx-optimization
+.else
+CONFIGURE_ARGS+= --disable-mmx-optimization
.endif
.if !defined(NOPORTDOCS)
INSTALL_TARGET= install install.doc
.endif
+post-extract:
+ @${LN} -sf ${WRKSRC} ${WRKDIR}/libAfterImage
+
post-patch:
@${PERL} -pi -e 's|-lgif|-lungif|g' ${WRKSRC}/configure
@find ${WRKSRC} -name '*.[ch]' | xargs ${PERL} -pi -e \
diff --git a/graphics/libafterimage/distinfo b/graphics/libafterimage/distinfo
index f33d74b50355..6b11e3f850d4 100644
--- a/graphics/libafterimage/distinfo
+++ b/graphics/libafterimage/distinfo
@@ -1 +1 @@
-MD5 (libAfterImage-0.91.tar.gz) = 4c6cfaacbc055ed9b58a434aed7eb741
+MD5 (libAfterImage-0.92.tar.gz) = ccee15e163b75c31240e625b27f7809c
diff --git a/graphics/libafterimage/files/patch-apps:Makefile.in b/graphics/libafterimage/files/patch-apps:Makefile.in
new file mode 100644
index 000000000000..811410e5da41
--- /dev/null
+++ b/graphics/libafterimage/files/patch-apps:Makefile.in
@@ -0,0 +1,13 @@
+--- apps/Makefile.in.orig Wed Jan 16 06:55:09 2002
++++ apps/Makefile.in Thu Feb 28 06:28:56 2002
+@@ -19,8 +19,8 @@
+ LDCONFIG = @LDCONFIG@
+
+ INSTALL = @INSTALL@
+-INSTALL_PROGRAM = @INSTALL@ -s -m 755
+-INSTALL_DATA = @INSTALL@ -m 644
++INSTALL_PROGRAM = @INSTALL_PROGRAM@
++INSTALL_DATA = @INSTALL_DATA@
+
+ INCS_X = @X_CFLAGS@
+ INCS_PRIVATE= @APPS_AFTERBASE_CFLAGS@ -I../..