1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-26 00:55:14 +00:00
freebsd-ports/devel/privman/Makefile
2013-10-09 12:07:12 +00:00

33 lines
831 B
Makefile

# Created by: Kirill Ponomarew <ponomarew@oberon.net>
# $FreeBSD$
PORTNAME= privman
PORTVERSION= 0.9.3
PORTREVISION= 2
CATEGORIES= devel security
MASTER_SITES= GOOGLE_CODE
MAINTAINER= bdrewery@FreeBSD.org
COMMENT= Library that makes it easy for programs to use privilege separation
LICENSE= BSD
LICENSE_FILE= ${WRKSRC}/LICENSE
USE_AUTOTOOLS= libtool
USE_LDCONFIG= yes
post-patch:
@${REINPLACE_CMD} \
-e 's|$$(PACKAGE).d|$$(PACKAGE)|g' \
-e 's|$$(sysconfdir)/$$(PACKAGE)|$$(DESTDIR)$$(sysconfdir)/$$(PACKAGE)|' \
${WRKSRC}/etc/Makefile.in
@${REINPLACE_CMD} -e \
'/^CFLAGS/s|-O2 -g|@CFLAGS@| ; \
/^CXXFLAGS/s|-O2 -g|@CXXFLAGS@| ; \
s|@PACKAGE@.d|@PACKAGE@| ; \
s|-lstdc++||' ${WRKSRC}/src/Makefile.in
@${REINPLACE_CMD} -e \
'/^CFLAGS/s|-O2 -g|@CFLAGS@|' ${WRKSRC}/tests/Makefile.in
.include <bsd.port.mk>