mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-25 04:43:33 +00:00
bebf3178ae
EXPIRATION_DATE at the end of April 2017. In the past six months, about a third of the ports marked BROKEN because they were hosted on Google Code have been fixed. The remaining must not be of use to anyone. With hat: portmgr Sponsored by: Absolight
41 lines
1.2 KiB
Makefile
41 lines
1.2 KiB
Makefile
# Created by: Kirill Ponomarew <ponomarew@oberon.net>
|
|
# $FreeBSD$
|
|
|
|
PORTNAME= privman
|
|
PORTVERSION= 0.9.3
|
|
PORTREVISION= 5
|
|
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
|
|
|
|
BROKEN= Unfetchable (google code has gone away)
|
|
DEPRECATED= Unfetchable for more than six months (google code has gone away)
|
|
EXPIRATION_DATE= 2017-04-30
|
|
|
|
USES= autoreconf libtool
|
|
GNU_CONFIGURE= yes
|
|
USE_LDCONFIG= yes
|
|
INSTALL_TARGET= install-strip
|
|
|
|
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
|
|
# microb calls sqrt which requires -lm on some architectures
|
|
@${ECHO_CMD} 'microb_LDADD = $$(LDADD) -lm' >> ${WRKSRC}/tests/Makefile.am
|
|
|
|
.include <bsd.port.mk>
|