mirror of
https://git.FreeBSD.org/ports.git
synced 2024-11-21 00:25:50 +00:00
Support staging.
This commit is contained in:
parent
a4a7f33849
commit
55f54114ba
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=350729
@ -21,6 +21,10 @@ WRKSRC= ${WRKDIR}/${PORTNAME}
|
||||
|
||||
PLIST_FILES= libexec/gkrellm/plugins/gkrellmms.so
|
||||
USE_GNOME= imlib
|
||||
NO_STAGE= yes
|
||||
|
||||
do-install:
|
||||
${MKDIR} ${STAGEDIR}${PREFIX}/libexec/gkrellm/plugins
|
||||
${INSTALL_DATA} ${WRKSRC}/gkrellmms.so \
|
||||
${STAGEDIR}${PREFIX}/libexec/gkrellm/plugins
|
||||
|
||||
.include <bsd.port.mk>
|
||||
|
@ -17,14 +17,13 @@ LIB_DEPENDS= libxmms.so:${PORTSDIR}/multimedia/xmms \
|
||||
libgdk_pixbuf_xlib.so:${PORTSDIR}/graphics/gdk-pixbuf
|
||||
|
||||
GNU_CONFIGURE= yes
|
||||
NO_STAGE= yes
|
||||
USE_CSTD= gnu89
|
||||
|
||||
MAN1= wmalbum.1
|
||||
PLIST_FILES= bin/wmalbum
|
||||
|
||||
do-install:
|
||||
${INSTALL_PROGRAM} ${WRKSRC}/wmalbum/wmalbum ${PREFIX}/bin
|
||||
${INSTALL_MAN} ${WRKSRC}/wmalbum.1 ${MANPREFIX}/man/man1
|
||||
${INSTALL_PROGRAM} ${WRKSRC}/wmalbum/wmalbum ${STAGEDIR}${PREFIX}/bin
|
||||
${INSTALL_MAN} ${WRKSRC}/wmalbum.1 ${STAGEDIR}${MANPREFIX}/man/man1
|
||||
|
||||
.include <bsd.port.mk>
|
||||
|
@ -18,7 +18,6 @@ RUN_DEPENDS= xmms:${PORTSDIR}/multimedia/xmms
|
||||
LIB_DEPENDS= libpthread-stubs.so:${PORTSDIR}/devel/libpthread-stubs
|
||||
|
||||
USES= gettext iconv
|
||||
NO_STAGE= yes
|
||||
USE_GNOME= gtk12
|
||||
USE_XORG= x11 xau xcb xdmcp xext xi
|
||||
|
||||
@ -28,11 +27,9 @@ do-build:
|
||||
cd ${WRKSRC} && ${CC} ${CFLAGS} ${PTHREAD_CFLAGS} ${PTHREAD_LIBS} -lncurses `xmms-config --cflags --libs` -o xmms-curses *.c
|
||||
|
||||
do-install:
|
||||
${INSTALL_PROGRAM} ${WRKSRC}/xmms-curses ${PREFIX}/bin
|
||||
${INSTALL_MAN} ${WRKSRC}/${MAN1} ${MAN1PREFIX}/man/man1
|
||||
${INSTALL_DATA} ${WRKSRC}/${PORTNAME}.conf ${PREFIX}/etc/${PORTNAME}.conf.sample
|
||||
.if !exists(${PREFIX}/etc/${PORTNAME}.conf)
|
||||
${INSTALL_DATA} ${WRKSRC}/${PORTNAME}.conf ${PREFIX}/etc
|
||||
.endif
|
||||
${INSTALL_PROGRAM} ${WRKSRC}/xmms-curses ${STAGEDIR}${PREFIX}/bin
|
||||
${INSTALL_MAN} ${WRKSRC}/${MAN1} ${STAGEDIR}${MAN1PREFIX}/man/man1
|
||||
${INSTALL_DATA} ${WRKSRC}/${PORTNAME}.conf \
|
||||
${STAGEDIR}${PREFIX}/etc/${PORTNAME}.conf.sample
|
||||
|
||||
.include <bsd.port.mk>
|
||||
|
@ -17,7 +17,6 @@ LIB_DEPENDS= libxmms.so:${PORTSDIR}/multimedia/xmms
|
||||
RUN_DEPENDS= timidity:${PORTSDIR}/audio/timidity
|
||||
|
||||
USE_LDCONFIG= ${PREFIX}/lib/xmms/Input
|
||||
NO_STAGE= yes
|
||||
|
||||
USE_BZIP2= yes
|
||||
USE_GNOME= gtk12
|
||||
@ -27,6 +26,11 @@ FILES= xmms-timidity.cpp
|
||||
PLIST_FILES= lib/xmms/Input/libxmms-timidity.so
|
||||
|
||||
do-build:
|
||||
(cd ${WRKSRC} && ${CXX} ${CXXFLAGS} -c ${FILES} -o xmms-timidity.o)
|
||||
cd ${WRKSRC} && ${CXX} ${CXXFLAGS} -c ${FILES} -o xmms-timidity.o
|
||||
|
||||
do-install:
|
||||
${MKDIR} ${STAGEDIR}${PREFIX}/lib/xmms/Input
|
||||
${INSTALL_DATA} ${WRKSRC}/${FILES} \
|
||||
${STAGEDIR}${PREFIX}/lib/xmms/Input/libxmms-timidity.so
|
||||
|
||||
.include <bsd.port.mk>
|
||||
|
Loading…
Reference in New Issue
Block a user