aboutsummaryrefslogtreecommitdiffstats
path: root/multimedia/oqtencoder
diff options
context:
space:
mode:
authoramdmi3 <amdmi3@FreeBSD.org>2014-05-10 07:31:53 +0800
committeramdmi3 <amdmi3@FreeBSD.org>2014-05-10 07:31:53 +0800
commit2058e71db1d35e22bafd632f2527260eba8d065d (patch)
treeee9ddc87041f55373500d59c2ebd2eb8dc9f25d0 /multimedia/oqtencoder
parent423d125b59ce69739694c4c0c7e11da018ca6d2f (diff)
downloadfreebsd-ports-gnome-2058e71db1d35e22bafd632f2527260eba8d065d.tar.gz
freebsd-ports-gnome-2058e71db1d35e22bafd632f2527260eba8d065d.tar.zst
freebsd-ports-gnome-2058e71db1d35e22bafd632f2527260eba8d065d.zip
- Support staging
- Use new LIB_DEPENDS syntax
Diffstat (limited to 'multimedia/oqtencoder')
-rw-r--r--multimedia/oqtencoder/Makefile20
1 files changed, 8 insertions, 12 deletions
diff --git a/multimedia/oqtencoder/Makefile b/multimedia/oqtencoder/Makefile
index 685d6e3efd03..37b3a0952ae0 100644
--- a/multimedia/oqtencoder/Makefile
+++ b/multimedia/oqtencoder/Makefile
@@ -12,29 +12,25 @@ EXTRACT_SUFX= .tgz
MAINTAINER= ports@FreeBSD.org
COMMENT= A simple encoder using OpenQuicktime (TM)
-LIB_DEPENDS= openquicktime.0:${PORTSDIR}/multimedia/openquicktime
+LIB_DEPENDS= libopenquicktime.so:${PORTSDIR}/multimedia/openquicktime
WRKSRC= ${WRKDIR}/${PORTNAME}-${PORTVERSION}
-MAKE_ARGS= CFLAGS="${CFLAGS} -I${LOCALBASE}/include" \
- LDFLAGS="-L${LOCALBASE}/lib"
+CFLAGS+= -I${LOCALBASE}/include
+LDFLAGS+= -L${LOCALBASE}/lib
PLIST_FILES= bin/oqtencoder
+PORTDOCS= *
-.if !defined(NOPORTDOCS)
-PORTDOCS= README
-.endif
+OPTIONS_DEFINE= DOCS
-NO_STAGE= yes
post-patch:
@${TR} -d '\r' < ${WRKSRC}/readme > ${WRKSRC}/README
@${REINPLACE_CMD} -e 's|gcc -g|${CC}|g' ${WRKSRC}/Makefile
do-install:
- ${INSTALL_PROGRAM} ${WRKSRC}/${PORTNAME:tl} ${PREFIX}/bin
-.if !defined(NOPORTDOCS)
- @${MKDIR} ${DOCSDIR}
- ${INSTALL_DATA} ${WRKSRC}/README ${DOCSDIR}
-.endif
+ ${INSTALL_PROGRAM} ${WRKSRC}/${PORTNAME:tl} ${STAGEDIR}${PREFIX}/bin
+ @${MKDIR} ${STAGEDIR}${DOCSDIR}
+ ${INSTALL_DATA} ${WRKSRC}/README ${STAGEDIR}${DOCSDIR}
.include <bsd.port.mk>