Changeset View
Changeset View
Standalone View
Standalone View
net/rtpproxy/Makefile
# Created by: sobomax | # Created by: sobomax | ||||
# $FreeBSD$ | # $FreeBSD$ | ||||
PORTNAME= rtpproxy | PORTNAME= rtpproxy | ||||
PORTVERSION= 1.2.1 | PORTVERSION= 2.0.0 | ||||
PORTREVISION= 1 | DISTVERSIONPREFIX= v | ||||
mat: Missing a tabulation after `=` here. | |||||
CATEGORIES= net | CATEGORIES= net | ||||
MASTER_SITES= http://www.rtpproxy.org/chrome/site/ | |||||
Done Inline ActionsRemove that line, it's the default when USE_GITHUB is defined. mat: Remove that line, it's the default when `USE_GITHUB` is defined. | |||||
Done Inline ActionsThe MASTER_SITES line should be removed. mat: The `MASTER_SITES` line should be removed. | |||||
MAINTAINER= ports@FreeBSD.org | MAINTAINER= farrokhi@FreeBSD.org | ||||
COMMENT= High-performance RTP proxy server for the SIP Express Router (SER) | COMMENT= High-performance RTP proxy server for the SIP Express Router (SER) | ||||
LICENSE= BSD2CLAUSE | LICENSE= BSD2CLAUSE | ||||
LIB_DEPENDS= libgsm.so:${PORTSDIR}/audio/gsm | LIB_DEPENDS= libgsm.so:${PORTSDIR}/audio/gsm | ||||
USE_GITHUB= yes | |||||
GH_ACCOUNT= sippy | |||||
Not Done Inline ActionsI think there's a space here after the = sign, it should be a tabulation. portlint should tell you this. mat: I think there's a space here after the `=` sign, it should be a tabulation. portlint should… | |||||
Not Done Inline ActionsThey are tabs actually, and portlint didn't complain. farrokhi: They are tabs actually, and portlint didn't complain. | |||||
Done Inline ActionsOne thing portlint could do, and it did not… mat: One thing portlint could do, and it did not… | |||||
Done Inline Actionsuse DISTVERSIONPREFIX=v (and put that line just below the PORTVERSION one. (it'll change the DISTNAME, so you will need to rerun make makesum) mat: use `DISTVERSIONPREFIX=v` (and put that line just below the `PORTVERSION` one. (it'll change… | |||||
USE_RC_SUBR= ${PORTNAME} | |||||
matUnsubmitted Done Inline ActionsOk, so, I told you crap, don't put this here, it's going to assume you have files/PORTNAME.in file. mat: Ok, so, I told you crap, don't put this here, it's going to assume you have files/PORTNAME.in… | |||||
GNU_CONFIGURE= yes | GNU_CONFIGURE= yes | ||||
CPPFLAGS+= -I${LOCALBASE}/include | CPPFLAGS+= -I${LOCALBASE}/include | ||||
LIBS+= -L${LOCALBASE}/lib | LIBS+= -L${LOCALBASE}/lib | ||||
USERS= ${PORTNAME} | USERS= ${PORTNAME} | ||||
GROUPS= ${PORTNAME} | GROUPS= ${PORTNAME} | ||||
post-build: | post-build: | ||||
${SED} 's|%%PREFIX%%|${PREFIX}|g ; s|%%RC_SUBR%%|/etc/rc.subr|g' \ | ${SED} 's|%%PREFIX%%|${PREFIX}|g ; s|%%RC_SUBR%%|/etc/rc.subr|g' \ | ||||
${WRKSRC}/freebsd/rtpproxy.in > ${WRKDIR}/rtpproxy | ${WRKSRC}/scripts/rtpproxy.in.freebsd > ${WRKDIR}/rtpproxy | ||||
post-install: | post-install: | ||||
${INSTALL_SCRIPT} ${WRKDIR}/rtpproxy ${STAGEDIR}${PREFIX}/etc/rc.d/rtpproxy | ${INSTALL_SCRIPT} ${WRKDIR}/rtpproxy ${STAGEDIR}${PREFIX}/etc/rc.d/rtpproxy | ||||
.include <bsd.port.mk> | .include <bsd.port.mk> |
Missing a tabulation after = here.