blob: fe2aaaea21990c0a60a0e4516c2cd16568b3d12c (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
|
# 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>
|