aboutsummaryrefslogtreecommitdiffstats
path: root/graphics/libafterimage
diff options
context:
space:
mode:
authorpetef <petef@FreeBSD.org>2002-03-01 06:59:53 +0800
committerpetef <petef@FreeBSD.org>2002-03-01 06:59:53 +0800
commit8c1c94f2f995395421914ef9ac5da5899e8e2326 (patch)
tree77028bfe1c216f3b5d1354ef1a1063dc4453ba66 /graphics/libafterimage
parent4cda4246949e631109550055f52b95d97f534fc9 (diff)
downloadfreebsd-ports-gnome-8c1c94f2f995395421914ef9ac5da5899e8e2326.tar.gz
freebsd-ports-gnome-8c1c94f2f995395421914ef9ac5da5899e8e2326.tar.zst
freebsd-ports-gnome-8c1c94f2f995395421914ef9ac5da5899e8e2326.zip
- update to 0.92
- explicitly disable mmx optimization if WITH_MMX isn't given PR: 35411 Submitted by: KATO Tsuguru <tkato@prontomail.com>
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../..