View | Details | Raw Unified | Return to bug 193914
Collapse All | Expand All

(-)./Makefile (-9 / +1 lines)
Lines 2-9 Link Here
2
# $FreeBSD: head/www/sarg/Makefile 362835 2014-07-24 18:34:16Z tijl $
2
# $FreeBSD: head/www/sarg/Makefile 362835 2014-07-24 18:34:16Z tijl $
3
3
4
PORTNAME=	sarg
4
PORTNAME=	sarg
5
PORTVERSION=	2.3.6
5
PORTVERSION=	2.3.9
6
PORTREVISION=	3
7
CATEGORIES=	www
6
CATEGORIES=	www
8
MASTER_SITES=	SF/${PORTNAME}/${PORTNAME}/${PORTNAME}-${PORTVERSION}
7
MASTER_SITES=	SF/${PORTNAME}/${PORTNAME}/${PORTNAME}-${PORTVERSION}
9
8
Lines 43-57 Link Here
43
ICONV_CONFIGURE_WITH=	iconv
42
ICONV_CONFIGURE_WITH=	iconv
44
ICONV_LDFLAGS=		${ICONV_LIB}
43
ICONV_LDFLAGS=		${ICONV_LIB}
45
44
46
post-extract:
47
	@${FIND} ${WRKSRC} -type d -exec ${CHMOD} 0755 {} \;
48
	@${CHMOD} 0755 ${WRKSRC}/configure
49
50
post-patch:
45
post-patch:
51
	@${REINPLACE_CMD} -e '/test .*==/ s/==/=/' \
46
	@${REINPLACE_CMD} -e '/test .*==/ s/==/=/' \
52
		${WRKSRC}/configure.in
47
		${WRKSRC}/configure.in
53
48
54
pre-configure:
55
	@(cd ${WRKSRC} && ${AUTORECONF})
56
57
.include <bsd.port.mk>
49
.include <bsd.port.mk>
(-)./distinfo (-2 / +2 lines)
Lines 1-2 Link Here
1
SHA256 (sarg-2.3.6.tar.gz) = 8b8d6ed9da1e5679d9f67508722d837a2b9e0347036084b3fbdb664780fe4c4f
1
SHA256 (sarg-2.3.9.tar.gz) = 7c96b8067f75a1e843af030cf4061efb6b190ea3850fbcc5b7e41af9a02a4117
2
SIZE (sarg-2.3.6.tar.gz) = 1281924
2
SIZE (sarg-2.3.9.tar.gz) = 1288619
(-)./files/patch-Makefile.in (-1 / +1 lines)
Lines 22-28 Link Here
22
-	$(INSTALL_PROGRAM) sarg.1 $(DESTDIR)$(man1dir)/sarg.1
22
-	$(INSTALL_PROGRAM) sarg.1 $(DESTDIR)$(man1dir)/sarg.1
23
-	chmod 755 $(DESTDIR)$(man1dir)/sarg.1
23
-	chmod 755 $(DESTDIR)$(man1dir)/sarg.1
24
+	$(INSTALL) sarg.1 $(DESTDIR)$(man1dir)/sarg.1
24
+	$(INSTALL) sarg.1 $(DESTDIR)$(man1dir)/sarg.1
25
+	cp sarg.conf $(DESTDIR)$(sysconfdir)/sarg.conf.default
25
+	cp sarg.conf $(DESTDIR)$(sysconfdir)/sarg.conf.sample
26
 	@if test ! -f $(DESTDIR)$(sysconfdir)/sarg.conf; then \
26
 	@if test ! -f $(DESTDIR)$(sysconfdir)/sarg.conf; then \
27
 		echo "cp $(DESTDIR)$(sysconfdir)/sarg.conf"; \
27
 		echo "cp $(DESTDIR)$(sysconfdir)/sarg.conf"; \
28
 		cp sarg.conf $(DESTDIR)$(sysconfdir)/sarg.conf; \
28
 		cp sarg.conf $(DESTDIR)$(sysconfdir)/sarg.conf; \
(-)./pkg-plist (-3 / +1 lines)
Lines 1-7 Link Here
1
bin/sarg
1
bin/sarg
2
@unexec if cmp -s %D/etc/sarg/sarg.conf %D/etc/sarg/sarg.conf.default; then rm -f %D/etc/sarg/sarg.conf; fi
2
@sample etc/sarg/sarg.conf.sample
3
etc/sarg/sarg.conf.default
4
@exec [ ! -f %B/sarg.conf ] || cp -p %B/%f %B/sarg.conf
5
etc/sarg/css.tpl
3
etc/sarg/css.tpl
6
etc/sarg/exclude_codes
4
etc/sarg/exclude_codes
7
etc/sarg/fonts/DejaVuSans.ttf
5
etc/sarg/fonts/DejaVuSans.ttf

Return to bug 193914