mirror of
https://git.FreeBSD.org/ports.git
synced 2024-11-27 00:57:50 +00:00
62dfc51bf0
- while here trim COMMENT and stale mirror svnup-0.73 - 2 June 2013 - Significantly improved performance when using the http/https protocol to fetch incremental updates. - Added a new command line and section option to allow a custom port number to connect to. - Added a new command line option to override the specified section's protocol. - Added a new command line and section option to remove (trim) any files found in the local copy that are not found in the repository. - Fixed a display bug in the progress indicator. Submitted by: maintainer (jcm@visi.com) via mail
49 lines
1.3 KiB
Makefile
49 lines
1.3 KiB
Makefile
# $FreeBSD$
|
|
|
|
PORTNAME= svnup
|
|
PORTVERSION= 0.73
|
|
CATEGORIES= net
|
|
MASTER_SITES= http://jcm.dsl.visi.com/freebsd/svnup/ \
|
|
LOCAL/jgh/net/${PORTNAME}/
|
|
|
|
MAINTAINER= jcm@visi.com
|
|
COMMENT= Lightweight program to pull source from an Apache Subversion server
|
|
|
|
LICENSE= BSD
|
|
|
|
LDFLAGS+= -lmd -lssl
|
|
USE_XZ= yes
|
|
|
|
MAN1= ${PORTNAME}.1
|
|
MAN5= ${PORTNAME}.conf.5
|
|
PORTDOCS= ChangeLog
|
|
|
|
post-patch-script:
|
|
@${REINPLACE_CMD} -e 's|8.3|${OSREL}|' ${WRKSRC}/svnup.conf
|
|
|
|
do-build:
|
|
cd ${WRKSRC} && \
|
|
${CC} -o ${PORTNAME} ${CFLAGS} ${PORTNAME}.c ${LDFLAGS}
|
|
|
|
.include <bsd.port.options.mk>
|
|
|
|
do-install:
|
|
${INSTALL_PROGRAM} ${WRKSRC}/${PORTNAME} ${PREFIX}/bin
|
|
${INSTALL_MAN} ${WRKSRC}/${MAN1} ${MAN1PREFIX}/man/man1
|
|
${INSTALL_MAN} ${WRKSRC}/${MAN5} ${MAN5PREFIX}/man/man5
|
|
|
|
post-install:
|
|
.if ${PORT_OPTIONS:MDOCS}
|
|
@${MKDIR} ${DOCSDIR}
|
|
${INSTALL_DATA} ${WRKSRC}/ChangeLog ${DOCSDIR}
|
|
.endif
|
|
@${INSTALL_DATA} ${WRKSRC}/${PORTNAME}.conf ${PREFIX}/etc/${PORTNAME}.conf.sample
|
|
@if [ ! -e "${PREFIX}/etc/${PORTNAME}.conf" ]; then \
|
|
${ECHO_MSG} " Installing local configuration file: ${PREFIX}/etc/${PORTNAME}.conf"; \
|
|
${CP} ${PREFIX}/etc/${PORTNAME}.conf.sample ${PREFIX}/etc/${PORTNAME}.conf; \
|
|
else \
|
|
${ECHO_MSG} " Preserving local configuration file: ${ETCDIR}/${PORTNAME}.conf"; \
|
|
fi
|
|
|
|
.include <bsd.port.mk>
|