Support staging.

This commit is contained in:
Emanuel Haupt 2013-10-23 20:30:50 +00:00
parent 0798d61585
commit f4a1e022c0
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=331422
14 changed files with 29 additions and 44 deletions

View File

@ -14,7 +14,6 @@ COMMENT= MPEG Audio stream validator
LICENSE= GPLv2
GNU_CONFIGURE= yes
NO_STAGE= yes
PORTDOCS= README
PLIST_FILES= bin/malint
@ -25,8 +24,8 @@ OPTIONS_DEFINE= DOCS
.if ${PORT_OPTIONS:MDOCS}
post-install:
${MKDIR} ${DOCSDIR}
${INSTALL_DATA} ${WRKSRC}/README ${DOCSDIR}
${MKDIR} ${STAGEDIR}${DOCSDIR}
${INSTALL_DATA} ${WRKSRC}/README ${STAGEDIR}${DOCSDIR}
.endif
.include <bsd.port.mk>

View File

@ -19,7 +19,6 @@ LIB_DEPENDS+= jack:${PORTSDIR}/audio/jack \
zzip:${PORTSDIR}/devel/zziplib
USES= pkgconfig
NO_STAGE= yes
GNU_CONFIGURE= yes
USE_SDL= sdl
@ -38,15 +37,15 @@ OPTIONS_DEFINE= DOCS
post-install:
.for f in ${ICONS}
${INSTALL_DATA} ${WRKSRC}/resources/pictures/${f} \
${PREFIX}/share/pixmaps/${f:C/carton/milkytracker/}
${STAGEDIR}${PREFIX}/share/pixmaps/${f:C/carton/milkytracker/}
.endfor
${MKDIR} ${DESKTOPDIR}
${INSTALL_DATA} ${WRKSRC}/${PORTNAME}.desktop ${DESKTOPDIR}
${MKDIR} ${STAGEDIR}${DESKTOPDIR}
${INSTALL_DATA} ${WRKSRC}/${PORTNAME}.desktop ${STAGEDIR}${DESKTOPDIR}
.if ${PORT_OPTIONS:MDOCS}
${MKDIR} ${DOCSDIR}
${MKDIR} ${STAGEDIR}${DOCSDIR}
.for f in ${PORTDOCS}
${INSTALL_DATA} ${WRKSRC}/docs/${f} ${DOCSDIR}
${INSTALL_DATA} ${WRKSRC}/docs/${f} ${STAGEDIR}${DOCSDIR}
.endfor
.endif

View File

@ -13,7 +13,6 @@ LICENSE= GPLv2
LIB_DEPENDS= mikmod.2:${PORTSDIR}/audio/libmikmod
NO_STAGE= yes
CFLAGS+= -I${LOCALBASE}/include
LDFLAGS+= -L${LOCALBASE}/lib -lmikmod ${PTHREAD_LIBS} -lncurses -lpanel
DEFINES= -D_REENTRANT
@ -25,6 +24,6 @@ do-build:
-o ${WRKSRC}/${PORTNAME}
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/${PORTNAME} ${PREFIX}/bin
${INSTALL_PROGRAM} ${WRKSRC}/${PORTNAME} ${STAGEDIR}${PREFIX}/bin
.include <bsd.port.mk>

View File

@ -9,8 +9,6 @@ MASTER_SITES= SF/${PORTNAME}/${PORTNAME}-${PORTVERSION:C/\.0$//}
MAINTAINER= ehaupt@FreeBSD.org
COMMENT= Utility for guessing which encoder was used to encode an mp3 file
NO_STAGE= yes
PLIST_FILES= bin/mp3guessenc
SRC= decode.c mp3guessenc.c bit_utils.c tags.c
@ -22,6 +20,6 @@ do-build:
-o ${WRKSRC}/${PORTNAME} ${LDFLAGS}
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/${PORTNAME} ${PREFIX}/bin
${INSTALL_PROGRAM} ${WRKSRC}/${PORTNAME} ${STAGEDIR}${PREFIX}/bin
.include <bsd.port.mk>

View File

@ -14,7 +14,6 @@ COMMENT= Command-line player for .spc and .zst files
ONLY_FOR_ARCHS= i386 # contains x86 asm code
USE_LDCONFIG= yes
NO_STAGE= yes
USE_AUTOTOOLS= libtool
USE_GCC= any
@ -28,8 +27,8 @@ OPTIONS_DEFINE= DOCS
.if ${PORT_OPTIONS:MDOCS}
post-install:
${MKDIR} ${DOCSDIR}
${INSTALL_DATA} ${WRKSRC}/README ${DOCSDIR}
${MKDIR} ${STAGEDIR}${DOCSDIR}
${INSTALL_DATA} ${WRKSRC}/README ${STAGEDIR}${DOCSDIR}
.endif
.include <bsd.port.mk>

View File

@ -10,7 +10,6 @@ MAINTAINER= ehaupt@FreeBSD.org
COMMENT= Command-line Atari(TM) .sap player
USE_DOS2UNIX= yes
NO_STAGE= yes
SOURCES= sapPokey pokey1 sapCpu sapEngine main pokey0
@ -45,7 +44,7 @@ do-build:
-o ${WRKSRC}/sap
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/sap ${PREFIX}/bin
${INSTALL_PROGRAM} ${WRKSRC}/sap ${STAGEDIR}${PREFIX}/bin
post-install:
@${CAT} ${PKGMESSAGE}

View File

@ -14,7 +14,6 @@ COMMENT= Command-line player for gsf audio files
LIB_DEPENDS= ao:${PORTSDIR}/audio/libao
USES= gmake
NO_STAGE= yes
USE_DOS2UNIX= yes
GNU_CONFIGURE= yes
@ -49,7 +48,7 @@ post-configure:
@(cd ${WRKSRC}/libresample-0.1.3; ./configure ${CONFIGURE_ENV})
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/${PORTNAME} ${PREFIX}/bin
${INSTALL_PROGRAM} ${WRKSRC}/${PORTNAME} ${STAGEDIR}${PREFIX}/bin
post-install:
${CAT} ${PKGMESSAGE}

View File

@ -17,7 +17,6 @@ LICENSE= GPLv2
ONLY_FOR_ARCHS= i386 amd64
USE_SDL= yes
NO_STAGE= yes
USE_BZIP2= yes
GNU_CONFIGURE= yes
@ -29,7 +28,7 @@ WRKSRC= ${WRKDIR}/${DISTNAME}
PORTSCOUT= skipv:20100202,20101127,20101128,20110101,20120105
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/schismtracker ${PREFIX}/bin/${PORTNAME}
${INSTALL_PROGRAM} ${WRKSRC}/schismtracker ${STAGEDIR}${PREFIX}/bin/${PORTNAME}
.include <bsd.port.pre.mk>

View File

@ -12,7 +12,6 @@ COMMENT= Translator that converts MP4-SA files into efficient C programs
LICENSE= BSD
USES= bison
NO_STAGE= yes
MAKE_ARGS= CC="${CC}" CFLAGS="${CFLAGS}"
ALL_TARGET= ${PORTNAME}
@ -25,6 +24,6 @@ post-patch:
@${REINPLACE_CMD} -E '/^(OPT|CC|DBUG)/d' ${WRKSRC}/Makefile
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/${PORTNAME} ${PREFIX}/bin
${INSTALL_PROGRAM} ${WRKSRC}/${PORTNAME} ${STAGEDIR}${PREFIX}/bin
.include <bsd.port.mk>

View File

@ -15,7 +15,6 @@ COMMENT= C64 SID tune player
LICENSE= GPLv2
USE_SDL= yes
NO_STAGE= yes
GNU_CONFIGURE= yes
SDLINCLUDEDIR= SDL
@ -29,10 +28,10 @@ post-patch:
${WRKSRC}/src/main_sdl.cpp
do-install:
${INSTALL} ${WRKSRC}/src/${PORTNAME} ${PREFIX}/bin/${PORTNAME}
${INSTALL} ${WRKSRC}/src/${PORTNAME} ${STAGEDIR}${PREFIX}/bin/${PORTNAME}
.if ${PORT_OPTIONS:MDOCS}
${MKDIR} ${DOCSDIR}
${CP} ${WRKSRC}/PSID\ Demo/* ${DOCSDIR}/
${MKDIR} ${STAGEDIR}${DOCSDIR}
${INSTALL_DATA} ${WRKSRC}/PSID\ Demo/* ${STAGEDIR}${DOCSDIR}
.endif
post-install:

View File

@ -19,14 +19,13 @@ CFLAGS+= -DOSVERSION=\"${OSVERSION}\"
OPTIONS_DEFINE= DOCS
NO_STAGE= yes
.include <bsd.port.options.mk>
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/${PORTNAME} ${PREFIX}/bin
${INSTALL_PROGRAM} ${WRKSRC}/${PORTNAME} ${STAGEDIR}${PREFIX}/bin
.if ${PORT_OPTIONS:MDOCS}
${MKDIR} ${DOCSDIR}
${INSTALL_DATA} ${WRKSRC}/${PORTDOCS} ${DOCSDIR}
${MKDIR} ${STAGEDIR}${DOCSDIR}
${INSTALL_DATA} ${WRKSRC}/${PORTDOCS} ${STAGEDIR}${DOCSDIR}
.endif
.include <bsd.port.mk>

View File

@ -19,8 +19,7 @@ SHEBANG_FILES= ${PORTNAME}.pl
PLIST_FILES= bin/plutil.pl
NO_STAGE= yes
do-install:
${INSTALL_SCRIPT} ${WRKSRC}/${PORTNAME}.pl ${PREFIX}/bin
${INSTALL_SCRIPT} ${WRKSRC}/${PORTNAME}.pl ${STAGEDIR}${PREFIX}/bin
.include <bsd.port.mk>

View File

@ -18,7 +18,6 @@ USE_XFCE= panel libutil libgui
CFLAGS+= `pkg-config --cflags libxfce4panel-1.0 libxfcegui4-1.0`
LDFLAGS+= `pkg-config --libs libxfce4panel-1.0 libxfcegui4-1.0`
NO_STAGE= yes
post-patch:
@${REINPLACE_CMD} -e \
"s|@PLUGINDIR@|${PREFIX}/lib/xfce4/xfce4/panel-plugins|" \
@ -31,11 +30,11 @@ do-build:
-o ${WRKSRC}/xfce4-generic-slider-plugin
do-install:
${MKDIR} ${PREFIX}/share/xfce4/panel-plugins
${MKDIR} ${PREFIX}/lib/xfce4/xfce4/panel-plugins
${MKDIR} ${STAGEDIR}${PREFIX}/share/xfce4/panel-plugins
${MKDIR} ${STAGEDIR}${PREFIX}/lib/xfce4/xfce4/panel-plugins
${INSTALL_DATA} ${WRKSRC}/generic-slider.desktop \
${PREFIX}/share/xfce4/panel-plugins
${STAGEDIR}${PREFIX}/share/xfce4/panel-plugins
${INSTALL_PROGRAM} ${WRKSRC}/xfce4-generic-slider-plugin \
${PREFIX}/lib/xfce4/xfce4/panel-plugins
${STAGEDIR}${PREFIX}/lib/xfce4/xfce4/panel-plugins
.include <bsd.port.mk>

View File

@ -22,7 +22,6 @@ ONLY_FOR_ARCHS_REASON= Fails to compile: invokes i386 asm
OPTIONS_DEFINE=DOCS
NO_STAGE= yes
.include <bsd.port.options.mk>
post-patch:
@ -30,12 +29,12 @@ post-patch:
do-install:
.for f in ${PLIST_FILES}
${INSTALL_PROGRAM} ${WRKSRC}/${f:C/bin\///} ${PREFIX}/bin
${INSTALL_PROGRAM} ${WRKSRC}/${f:C/bin\///} ${STAGEDIR}${PREFIX}/bin
.endfor
.if ${PORT_OPTIONS:MDOCS}
${MKDIR} ${DOCSDIR}
${INSTALL_DATA} ${WRKSRC}/${PORTDOCS} ${DOCSDIR}
${MKDIR} ${STAGEDIR}${DOCSDIR}
${INSTALL_DATA} ${WRKSRC}/${PORTDOCS} ${STAGEDIR}${DOCSDIR}
.endif
.include <bsd.port.mk>