mirror of
https://git.FreeBSD.org/ports.git
synced 2024-11-20 00:21:35 +00:00
fbadfe2f44
servers. Looks like it got somewhat stricter on the acceptable syntax. Bump PORTREVISION. Submitted by: John Mehr (maintainer)
41 lines
1.1 KiB
Makefile
41 lines
1.1 KiB
Makefile
# $FreeBSD$
|
|
|
|
PORTNAME= svnup
|
|
PORTVERSION= 1.07
|
|
PORTREVISION= 3
|
|
CATEGORIES= net
|
|
MASTER_SITES= http://jcm.dsl.visi.com/freebsd/svnup/ \
|
|
LOCAL/jgh/net/${PORTNAME}/
|
|
|
|
MAINTAINER= jmehr@umn.edu
|
|
COMMENT= Lightweight program to pull source from an Apache Subversion server
|
|
|
|
LICENSE= BSD2CLAUSE
|
|
|
|
OPTIONS_DEFINE= DOCS
|
|
|
|
CFLAGS= -I${OPENSSLINC}
|
|
LDFLAGS= -L${OPENSSLLIB} -lmd -lssl
|
|
USES= tar:xz ssl
|
|
|
|
PORTDOCS= ChangeLog
|
|
|
|
post-patch:
|
|
@${REINPLACE_CMD} -e 's|\/stable\/8|\/stable\/${OSREL:R}| ; \
|
|
s|\/releng\/8.3|\/releng\/${OSREL}|' \
|
|
${WRKSRC}/svnup.conf
|
|
|
|
do-build:
|
|
cd ${WRKSRC} && \
|
|
${CC} -o ${PORTNAME} ${CFLAGS} ${PORTNAME}.c ${LDFLAGS}
|
|
|
|
do-install:
|
|
${INSTALL_PROGRAM} ${WRKSRC}/${PORTNAME} ${STAGEDIR}${PREFIX}/bin
|
|
${INSTALL_MAN} ${WRKSRC}/${PORTNAME}.1 ${STAGEDIR}${MAN1PREFIX}/man/man1
|
|
${INSTALL_MAN} ${WRKSRC}/${PORTNAME}.conf.5 ${STAGEDIR}${MAN5PREFIX}/man/man5
|
|
@${MKDIR} ${STAGEDIR}${DOCSDIR}
|
|
${INSTALL_DATA} ${WRKSRC}/ChangeLog ${STAGEDIR}${DOCSDIR}
|
|
${INSTALL_DATA} ${WRKSRC}/${PORTNAME}.conf ${STAGEDIR}${PREFIX}/etc/${PORTNAME}.conf.sample
|
|
|
|
.include <bsd.port.mk>
|