mirror of
https://git.FreeBSD.org/ports.git
synced 2024-11-21 00:25:50 +00:00
- Add staging support
- Convert to new LIB_DEPENDS format, options framework - Fix typo in pkg-descr
This commit is contained in:
parent
84ed108ab9
commit
3661a0aaf7
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=359417
@ -12,7 +12,7 @@ EXTRACT_SUFX= .tgz
|
||||
MAINTAINER= ports@FreeBSD.org
|
||||
COMMENT= Small, not functional, video OpenQuicktime (TM) player
|
||||
|
||||
LIB_DEPENDS= openquicktime.0:${PORTSDIR}/multimedia/openquicktime
|
||||
LIB_DEPENDS= libopenquicktime.so:${PORTSDIR}/multimedia/openquicktime
|
||||
|
||||
WRKSRC= ${WRKDIR}/${PORTNAME}-${PORTVERSION}
|
||||
|
||||
@ -21,21 +21,17 @@ MAKE_ARGS= CFLAGS="${CFLAGS} -I${LOCALBASE}/include" \
|
||||
LDFLAGS="-L${LOCALBASE}/lib"
|
||||
|
||||
PLIST_FILES= bin/oqtplayer
|
||||
|
||||
.if !defined(NOPORTDOCS)
|
||||
PORTDOCS= readme
|
||||
.endif
|
||||
|
||||
NO_STAGE= yes
|
||||
OPTIONS_DEFINE= DOCS
|
||||
|
||||
post-patch:
|
||||
@${REINPLACE_CMD} -e 's|gcc -g|${CC}|g ; \
|
||||
s|sdl-config|${SDL_CONFIG}|g' ${WRKSRC}/Makefile
|
||||
|
||||
do-install:
|
||||
${INSTALL_PROGRAM} ${WRKSRC}/oqtplayer ${PREFIX}/bin
|
||||
.if !defined(NOPORTDOCS)
|
||||
@${MKDIR} ${DOCSDIR}
|
||||
${INSTALL_DATA} ${WRKSRC}/readme ${DOCSDIR}
|
||||
.endif
|
||||
${INSTALL_PROGRAM} ${WRKSRC}/oqtplayer ${STAGEDIR}${PREFIX}/bin
|
||||
@${MKDIR} ${STAGEDIR}${DOCSDIR}
|
||||
${INSTALL_DATA} ${WRKSRC}/readme ${STAGEDIR}${DOCSDIR}
|
||||
|
||||
.include <bsd.port.mk>
|
||||
|
@ -1,4 +1,4 @@
|
||||
OQTPlayer is a very very small, even not functionnal, very very
|
||||
OQTPlayer is a very very small, even not functional, very very
|
||||
buggy video player that uses OpenQuicktime and the SDL library.
|
||||
|
||||
It is just a example to see how easy it is to use the OpenQuicktime
|
||||
|
Loading…
Reference in New Issue
Block a user