32 lines
845 B
Makefile
32 lines
845 B
Makefile
# Created by: Meno Abels <meno.abels@adviser.com>
|
|
# $FreeBSD$
|
|
|
|
PORTNAME= fakeroot
|
|
PORTVERSION= 1.20.2
|
|
CATEGORIES= security
|
|
MASTER_SITES= ${MASTER_SITE_DEBIAN}
|
|
MASTER_SITE_SUBDIR= pool/main/f/fakeroot
|
|
DISTNAME= ${PORTNAME}_${PORTVERSION}.orig
|
|
|
|
MAINTAINER= martymac@FreeBSD.org
|
|
COMMENT= Simulate the root user behaviour
|
|
|
|
LICENSE= GPLv3
|
|
|
|
USES= tar:bzip2 libtool
|
|
GNU_CONFIGURE= yes
|
|
CONFIGURE_ARGS= --with-ipc=tcp
|
|
INSTALL_TARGET= install-strip
|
|
USE_LDCONFIG= yes
|
|
|
|
WRKSRC= ${WRKDIR}/${PORTNAME}-${PORTVERSION}
|
|
|
|
pre-configure:
|
|
@${REINPLACE_CMD} -e '/LIBS=.*-lpthread/s/-lpthread/${PTHREAD_LIBS}/g' \
|
|
${WRKSRC}/${CONFIGURE_SCRIPT}
|
|
|
|
post-install:
|
|
@${MV} ${STAGEDIR}${PREFIX}/lib/libfakeroot-0.so ${STAGEDIR}${PREFIX}/lib/libfakeroot.so.0
|
|
@${LN} -sf ${PREFIX}/lib/libfakeroot.so.0 ${STAGEDIR}${PREFIX}/lib/libfakeroot-0.so
|
|
|
|
.include <bsd.port.mk>
|