1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-23 00:43:28 +00:00

- Really use freetype2 (detection was broken)

- Disconnect static libs
- Minor cleanup
This commit is contained in:
Volker Stolz 2005-05-19 17:58:51 +00:00
parent a510de6786
commit 45ced896a0
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=135633
5 changed files with 21 additions and 10 deletions

View File

@ -20,8 +20,9 @@ USE_REINPLACE= yes
USE_X_PREFIX= yes
GNU_CONFIGURE= yes
CONFIGURE_TARGET= --build=${ARCH}-portbld-freebsd${OSREL}
CONFIGURE_ARGS= --enable-sharedlibs --with-x
CONFIGURE_ARGS= --disable-staticlibs --enable-sharedlibs --with-x
INSTALLS_SHLIB= yes
PLIST_SUB= STATIC="@comment "
post-patch:
@${FIND} ${WRKSRC} -name '*.[ch]' | ${XARGS} ${REINPLACE_CMD} -e \

View File

@ -18,7 +18,7 @@ include/libAfterBase/timer.h
include/libAfterBase/trace.h
include/libAfterBase/xprop.h
include/libAfterBase/xwrap.h
lib/libAfterBase.a
%%STATIC%%lib/libAfterBase.a
lib/libAfterBase.so
lib/libAfterBase.so.0
@dirrm include/libAfterBase

View File

@ -8,7 +8,7 @@
PORTNAME= libafterimage
PORTVERSION= 0.92
PORTREVISION= 1
PORTREVISION= 2
CATEGORIES= graphics
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
MASTER_SITE_SUBDIR= afterstep
@ -17,7 +17,6 @@ DISTNAME= libAfterImage-${PORTVERSION}
MAINTAINER= ports@FreeBSD.org
COMMENT= Generic imaging library originally designed for AfterStep
BUILD_DEPENDS= freetype-config:${PORTSDIR}/print/freetype2 # XXX
LIB_DEPENDS= AfterBase.0:${PORTSDIR}/devel/libafterbase \
jpeg.9:${PORTSDIR}/graphics/jpeg \
ungif.5:${PORTSDIR}/graphics/libungif \
@ -29,10 +28,11 @@ USE_REINPLACE= yes
USE_X_PREFIX= yes
GNU_CONFIGURE= yes
CONFIGURE_TARGET= --build=${ARCH}-portbld-freebsd${OSREL}
CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include -I${X11BASE}/include" \
CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include -I${LOCALBASE}/include/freetype2 -I${X11BASE}/include" \
LDFLAGS="-L${LOCALBASE}/lib -L${X11BASE}/lib"
CONFIGURE_ARGS= --enable-sharedlibs --with-builtin-xpm --with-x
CONFIGURE_ARGS= --disable-staticlibs --enable-sharedlibs --with-builtin-xpm --with-x
INSTALLS_SHLIB= yes
PLIST_SUB= STATIC="@comment "
MAN1= ascompose.1x
MAN3= afterimage.3x ascmap.3x asfont.3x asimage.3x asvisual.3x blender.3x \
@ -50,9 +50,6 @@ CONFIGURE_ARGS+= --disable-mmx-optimization
INSTALL_TARGET= install install.doc
.endif
post-extract:
@${LN} -sf ${WRKSRC} ${WRKDIR}/libAfterImage
post-patch:
@${REINPLACE_CMD} -e 's|-lgif|-lungif|g' ${WRKSRC}/configure
@${FIND} ${WRKSRC} -name '*.[ch]' | ${XARGS} ${REINPLACE_CMD} -e \

View File

@ -0,0 +1,13 @@
$FreeBSD$
--- configure.orig
+++ configure
@@ -4878,6 +4878,7 @@
cat >conftest.$ac_ext <<_ACEOF
#line 4879 "configure"
#include "confdefs.h"
+#include <ft2build.h>
#include <freetype/freetype.h>
int main(){FT_Face f; return 0;}
_ACEOF

View File

@ -22,7 +22,7 @@ include/libAfterImage/ungif.h
include/libAfterImage/xcf.h
include/libAfterImage/ximage.h
include/libAfterImage/xpm.h
lib/libAfterImage.a
%%STATIC%%lib/libAfterImage.a
lib/libAfterImage.so
lib/libAfterImage.so.0
%%PORTDOCS%%share/doc/libAfterImage/html/afterimage.html