Changeset View
Changeset View
Standalone View
Standalone View
head/net/udpxy/Makefile
Show All 12 Lines | |||||
USES= gmake | USES= gmake | ||||
USE_RC_SUBR= udpxy | USE_RC_SUBR= udpxy | ||||
USE_GITHUB= yes | USE_GITHUB= yes | ||||
GH_ACCOUNT= pcherenkov | GH_ACCOUNT= pcherenkov | ||||
WRKSRC_SUBDIR= chipmunk | WRKSRC_SUBDIR= chipmunk | ||||
OPTIONS_SINGLE= CONF | OPTIONS_SINGLE= CONF | ||||
OPTIONS_SINGLE_CONF= RELEASE LEAN DEBUG | OPTIONS_SINGLE_CONF= RELEASE LEAN | ||||
RELEASE_DESC= No asserts, no debug symbols, verbose on | RELEASE_DESC= No asserts, no debug symbols, verbose on | ||||
LEAN_DESC= No asserts, no debug symbols, verbose off | LEAN_DESC= No asserts, no debug symbols, verbose off | ||||
DEBUG_DESC= Asserts, debug symbols, verbose on | |||||
OPTIONS_DEFAULT= RELEASE | OPTIONS_DEFAULT= RELEASE | ||||
PLIST_FILES= sbin/udpxy \ | PLIST_FILES= sbin/udpxy \ | ||||
sbin/udpxrec \ | sbin/udpxrec \ | ||||
man/man1/udpxy.1.gz \ | man/man1/udpxy.1.gz \ | ||||
man/man1/udpxrec.1.gz | man/man1/udpxrec.1.gz | ||||
do-install: | do-install: | ||||
${INSTALL_PROGRAM} ${WRKSRC}/udpxy ${STAGEDIR}${PREFIX}/sbin | ${INSTALL_PROGRAM} ${WRKSRC}/udpxy ${STAGEDIR}${PREFIX}/sbin | ||||
${LN} -s udpxy ${STAGEDIR}${PREFIX}/sbin/udpxrec | ${LN} -s udpxy ${STAGEDIR}${PREFIX}/sbin/udpxrec | ||||
post-install: | post-install: | ||||
${INSTALL_MAN} ${WRKSRC}/doc/en/udpxy.1 ${STAGEDIR}${MANPREFIX}/man/man1/ | ${INSTALL_MAN} ${WRKSRC}/doc/en/udpxy.1 ${STAGEDIR}${MANPREFIX}/man/man1/ | ||||
${INSTALL_MAN} ${WRKSRC}/doc/en/udpxrec.1 ${STAGEDIR}${MANPREFIX}/man/man1/ | ${INSTALL_MAN} ${WRKSRC}/doc/en/udpxrec.1 ${STAGEDIR}${MANPREFIX}/man/man1/ | ||||
.include <bsd.port.options.mk> | .include <bsd.port.options.mk> | ||||
.if ${PORT_OPTIONS:MRELEASE} | .if defined(WITH_DEBUG) | ||||
ALL_TARGET=debug | |||||
.elif ${PORT_OPTIONS:MRELEASE} | |||||
ALL_TARGET=release | ALL_TARGET=release | ||||
.elif ${PORT_OPTIONS:MLEAN} | .elif ${PORT_OPTIONS:MLEAN} | ||||
ALL_TARGET=lean | ALL_TARGET=lean | ||||
.elif ${PORT_OPTIONS:MDEBUG} | |||||
ALL_TARGET=debug | |||||
WITH_DEBUG=yes | |||||
.endif | .endif | ||||
.include <bsd.port.mk> | .include <bsd.port.mk> |