freebsd-ports/devel/privman/Makefile
Dmitry Marakasov 51ec5078bd - Switch to USES=libtool, drop .la files
- Clarify LICENSE

PR:		191576
Submitted by:	amdmi3
Approved by:	bdewery (maintainer)
2014-07-03 17:54:50 +00:00

35 lines
930 B
Makefile

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