1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-10-20 20:09:11 +00:00

- install .pc file to the correct place

- use USE_GETOPT_LONG
- sort pkg-plist correctly
- bump PORTREVISION

PR:		52136
Submitted by:	Ports Fury
This commit is contained in:
Pete Fritchman 2003-05-19 00:14:18 +00:00
parent 8b98987210
commit 129071c88c
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=81310
3 changed files with 17 additions and 28 deletions

View File

@ -8,6 +8,7 @@
PORTNAME= swfdec
PORTVERSION= 0.2.1
PORTREVISION= 1
CATEGORIES= graphics
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
MASTER_SITE_SUBDIR= ${PORTNAME}
@ -15,19 +16,24 @@ MASTER_SITE_SUBDIR= ${PORTNAME}
MAINTAINER= ports@FreeBSD.org
COMMENT= Flash Rendering Library
BUILD_DEPENDS= pkg-config:${PORTSDIR}/devel/pkgconfig
LIB_DEPENDS= SDL-1.1.5:${PORTSDIR}/devel/sdl12 \
mad.1:${PORTSDIR}/audio/mad \
gnugetopt.1:${PORTSDIR}/devel/libgnugetopt
mad.1:${PORTSDIR}/audio/mad
RUN_DEPENDS= pkg-config:${PORTSDIR}/devel/pkgconfig
SDL_CONFIG?= ${LOCALBASE}/bin/sdl11-config
USE_X_PREFIX= yes
USE_GNOME= gnomehack gtk20 libartlgpl2
USE_GETOPT_LONG= yes
USE_REINPLACE= yes
USE_GNOME= gtk20 libartlgpl2
SDL_CONFIG= ${LOCALBASE}/bin/sdl11-config
GNU_CONFIGURE= yes
CONFIGURE_ENV= CPPFLAGS="${CXXFLAGS} -I${LOCALBASE}/include" \
LDFLAGS="-L${LOCALBASE}/lib -lgnugetopt"
CONFIGURE_ENV= CPPFLAGS="${CPPFLAGS} LDFLAGS="{LDFLAGS}
INSTALLS_SHLIB= yes
CPPFLAGS= -I${LOCALBASE}/include
LDFLAGS= -L${LOCALBASE}/lib
post-patch:
@${REINPLACE_CMD} -e "s|sdl-config|${SDL_CONFIG}|" ${WRKSRC}/configure
@${REINPLACE_CMD} -e "s|malloc\.h|stdlib.h|" ${WRKSRC}/libswfdec/jpeg/sl_types.h

View File

@ -1,14 +1,6 @@
--- ltmain.sh.orig Sun Apr 6 15:09:32 2003
+++ ltmain.sh Sun Apr 6 15:09:58 2003
@@ -1065,14 +1065,14 @@
# These systems don't actually have a C library (as such)
test "X$arg" = "X-lc" && continue
;;
- *-*-openbsd* | *-*-freebsd*)
+ *-*-openbsd*)
# Do not include libc due to us having libc/libc_r.
test "X$arg" = "X-lc" && continue
;;
--- ltmain.sh.orig Thu Feb 6 05:37:40 2003
+++ ltmain.sh Tue May 13 06:48:33 2003
@@ -1072,7 +1072,7 @@
esac
elif test "X$arg" = "X-lc_r"; then
case $host in
@ -17,15 +9,6 @@
# Do not include libc_r directly, use -pthread flag.
continue
;;
@@ -2495,7 +2495,7 @@
*-*-netbsd*)
# Don't link with libc until the a.out ld.so is fixed.
;;
- *-*-openbsd* | *-*-freebsd*)
+ *-*-openbsd*)
# Do not include libc due to us having libc/libc_r.
;;
*)
@@ -4325,10 +4325,12 @@
fi

View File

@ -1,10 +1,10 @@
bin/swf_play
include/swfdec/swf.h
include/swfdec/swfdec.h
@dirrm include/swfdec
lib/gtk-2.0/2.2.0/loaders/swf_loader.a
lib/gtk-2.0/2.2.0/loaders/swf_loader.so
lib/libswfdec.a
lib/libswfdec.so
lib/libswfdec.so.0
lib/pkgconfig/swfdec.pc
libdata/pkgconfig/swfdec.pc
@dirrm include/swfdec