1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-10 07:04:03 +00:00
freebsd-ports/www/sqmgrlog/Makefile
Mario Sergio Fujikawa Ferreira f0a1969d34 o Rollback PORTCOMMENT modifications while this feature's implementation
is better studied
o Turn PORTCOMMENT variable in Makefile back into pkg-comment files

Approved by:	kris (portmgr hat),
		portmgr, re (silence)
2002-11-10 16:48:51 +00:00

30 lines
752 B
Makefile

# New ports collection makefile for: sqmgrlog
# Date created: Mon Feb 5 17:00:40 NOVT 2001
# Whom: Dmitry Grigorovich <odip@bionet.nsc.ru>
#
# $FreeBSD$
#
PORTNAME= sqmgrlog
PORTVERSION= 3.0.1
CATEGORIES= www
MASTER_SITES= http://web.onda.com.br/orso/
MAINTAINER= ports@FreeBSD.org
USE_REINPLACE= yes
GNU_CONFIGURE= yes
CONFIGURE_ARGS+= --enable-prefix=${PREFIX} --with-gcc
post-patch:
@${REINPLACE_CMD} -e 's,LDFLAGS="-g",LDFLAGS="",' ${WRKSRC}/configure
@${REINPLACE_CMD} -e 's,/usr/local/etc/httpd/htdocs/,${PREFIX}/www/data/,; \
s,mailx,mail,' ${WRKSRC}/sqmgrlog.conf ${WRKSRC}/log.c
post-install:
@if [ ! -f ${PREFIX}/etc/sqmgrlog.conf ]; then \
${INSTALL_DATA} ${WRKSRC}/sqmgrlog.conf ${PREFIX}/etc; \
fi
.include <bsd.port.mk>