mirror of
https://git.FreeBSD.org/ports.git
synced 2024-11-23 00:43:28 +00:00
60d1a83c2a
- Replace ${MASTER_SITE_FOO} with FOO. - Merge MASTER_SITE_SUBDIR into MASTER_SITES when possible. (This means 99.9% of the time.) - Remove occurrences of MASTER_SITE_LOCAL when no subdirectory was present and no hint of what it should be was present. - Fix some logic. - And generally, make things more simple and easy to understand. While there, add magic values to the FESTIVAL, GENTOO, GIMP, GNUPG, QT and SAMBA macros. Also, replace some EXTRACT_SUFX occurences with USES=tar:*. Checked by: make fetch-urlall-list With hat: portmgr Sponsored by: Absolight
49 lines
927 B
Makefile
49 lines
927 B
Makefile
# Created by: nik
|
|
# $FreeBSD$
|
|
|
|
PORTNAME= sitecopy
|
|
PORTVERSION= 0.16.6
|
|
PORTREVISION= 4
|
|
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:${PORTSDIR}/www/neon
|
|
|
|
GNU_CONFIGURE= yes
|
|
CPPFLAGS+= -I${LOCALBASE}/include
|
|
LIBS+= -L${LOCALBASE}/lib
|
|
CONFIGURE_ARGS= --with-neon --with-libxml2
|
|
USE_GNOME= libxml2
|
|
USES= gmake
|
|
|
|
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
|
|
USE_OPENSSL= yes
|
|
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|g' \
|
|
${WRKSRC}/configure
|
|
|
|
.include <bsd.port.mk>
|