mirror of
https://git.FreeBSD.org/ports.git
synced 2025-01-10 07:04:03 +00:00
620968a43a
Search criteria used: - 11.4 - OSREL* - OSVER* - *_FreeBSD_11 Input from: - adridg: devel/qca-legacy - jbeich: _WITH_DPRINTF, _WITH_GETLINE, GNU bfd workarounds - sunpoet: security/p5-*OpenSSL* Reviewed by: doceng, kde, multimedia, perl, python, ruby, rust Differential Revision: https://reviews.freebsd.org/D32008 Test Plan: make index
51 lines
1004 B
Makefile
51 lines
1004 B
Makefile
# Created by: nik
|
|
|
|
PORTNAME= sitecopy
|
|
PORTVERSION= 0.16.6
|
|
PORTREVISION= 6
|
|
CATEGORIES= www
|
|
MASTER_SITES= http://www.manyfish.co.uk/${PORTNAME}/ \
|
|
GENTOO
|
|
|
|
MAINTAINER= sitecopy@oldach.net
|
|
COMMENT= Maintains remote websites, uses FTP or WebDAV to sync up w/ local copy
|
|
|
|
LIB_DEPENDS= libneon.so:www/neon
|
|
|
|
GNU_CONFIGURE= yes
|
|
CPPFLAGS+= -I${LOCALBASE}/include
|
|
LIBS+= -L${LOCALBASE}/lib
|
|
CONFIGURE_ARGS= --with-neon --with-libxml2
|
|
USE_GNOME= libxml2
|
|
USES= gmake gnome
|
|
|
|
OPTIONS_DEFINE= NLS
|
|
|
|
.include <bsd.port.options.mk>
|
|
|
|
.if ${PORT_OPTIONS:MNLS}
|
|
LIBS+= -lintl
|
|
USES+= gettext
|
|
PLIST_SUB+= NLS=""
|
|
.else
|
|
CONFIGURE_ARGS+=--disable-nls
|
|
PLIST_SUB+= NLS="@comment "
|
|
.endif
|
|
|
|
.ifndef WITHOUT_SSL
|
|
USES+= ssl
|
|
CONFIGURE_ARGS+= --with-ssl
|
|
.endif
|
|
|
|
post-patch:
|
|
@${REINPLACE_CMD} -e 's|;;|;|g' \
|
|
${WRKSRC}/src/sitestore.c
|
|
@${REINPLACE_CMD} -e 's|25 26 27 28|& 29 30 31|g' \
|
|
${WRKSRC}/configure
|
|
.if ${OPSYS} == FreeBSD
|
|
@${REINPLACE_CMD} -e '/#define ksize_t /d' \
|
|
${WRKSRC}/configure
|
|
.endif
|
|
|
|
.include <bsd.port.mk>
|