svn commit: r359490 - head/multimedia/openquicktime
Pawel Pekala
pawel at FreeBSD.org
Fri Jun 27 10:05:04 UTC 2014
Author: pawel
Date: Fri Jun 27 10:05:03 2014
New Revision: 359490
URL: http://svnweb.freebsd.org/changeset/ports/359490
QAT: https://qat.redports.org/buildarchive/r359490/
Log:
- Add staging support
- Convert to new LIB_DEPENDS format
- Fix DEBUG option, use option helper
- More compact REINPLACE_CMD
Modified:
head/multimedia/openquicktime/Makefile
Modified: head/multimedia/openquicktime/Makefile
==============================================================================
--- head/multimedia/openquicktime/Makefile Fri Jun 27 09:55:30 2014 (r359489)
+++ head/multimedia/openquicktime/Makefile Fri Jun 27 10:05:03 2014 (r359490)
@@ -12,7 +12,7 @@ EXTRACT_SUFX= .tgz
MAINTAINER= ports at FreeBSD.org
COMMENT= Portable library for handling Apple's QuickTime(TM) files
-LIB_DEPENDS= jpeg.11:${PORTSDIR}/graphics/jpeg
+LIB_DEPENDS= libjpeg.so:${PORTSDIR}/graphics/jpeg
GNU_CONFIGURE= yes
USE_GNOME= gtk12
@@ -20,31 +20,21 @@ USES= gmake
USE_LDCONFIG= yes
PKGDEINSTALL= ${PKGINSTALL}
-OPTIONS_DEFINE= DEBUG
+CFLAGS_amd64= -fPIC
-NO_STAGE= yes
-.include <bsd.port.options.mk>
+OPTIONS_DEFINE= DEBUG
-.if ${PORT_OPTIONS:MDEBUG}
-CONFIGURE_ARGS+= --enable-debug=no
-.endif
-
-.if ${ARCH} == "amd64"
-CFLAGS+= -fPIC
-.endif
+DEBUG_CONFIGURE_OFF= --enable-debug=no
post-patch:
- @${REINPLACE_CMD} -e 's|xCC|xc| ; s|-O2||' \
+ @${REINPLACE_CMD} -e 's|xCC|xc| ; s|-O2|| ; s|-fpic||' \
-e 's|ftello64|ftello| ; s|fseeko64|fseeko|' \
${CONFIGURE_WRKSRC}/${CONFIGURE_SCRIPT}
+ @${REINPLACE_CMD} -E 's,(bin|lib|include)dir),DESTDIR)$$(&,' \
+ ${WRKSRC}/Makefile.in \
+ ${WRKSRC}/audioplugin/MP3/Makefile.in \
+ ${WRKSRC}/videoplugin/PHOTO_JPEG/Makefile.in
@${REINPLACE_CMD} -e 's|"m"|"g"|' \
${WRKSRC}/audioplugin/MP3/audioencoder/lame3.70/quantize-pvt.c
- @${REINPLACE_CMD} \
- -e 's|-fpic||' \
- ${CONFIGURE_WRKSRC}/${CONFIGURE_SCRIPT}
-
-post-install:
- @${SETENV} PKG_PREFIX=${PREFIX} ${SH} \
- ${PKGINSTALL} ${PKGNAME} POST-INSTALL
.include <bsd.port.mk>
More information about the svn-ports-all
mailing list