b917b06e48
PR: ports/126281 Submitted by: maintainer (ganael.laplanche martymac.com)
37 lines
952 B
Makefile
37 lines
952 B
Makefile
# New ports collection makefile for: fakeroot
|
|
# Date created: 11 March 2004
|
|
# Whom: Meno Abels <meno.abels@adviser.com>
|
|
#
|
|
# $FreeBSD$
|
|
#
|
|
|
|
PORTNAME= fakeroot
|
|
PORTVERSION= 1.9.6
|
|
CATEGORIES= security
|
|
MASTER_SITES= ${MASTER_SITE_DEBIAN}
|
|
MASTER_SITE_SUBDIR= pool/main/f/fakeroot
|
|
DISTNAME= ${PORTNAME}_${PORTVERSION}
|
|
|
|
MAINTAINER= ganael.laplanche@martymac.com
|
|
COMMENT= Simulate the root user behaviour
|
|
|
|
GNU_CONFIGURE= yes
|
|
CONFIGURE_TARGET= --build=${MACHINE_ARCH}-portbld-freebsd${OSREL}
|
|
CONFIGURE_ARGS= --with-ipc=tcp
|
|
USE_AUTOTOOLS= libtool:15
|
|
USE_LDCONFIG= yes
|
|
|
|
WRKSRC= ${WRKDIR}/${PORTNAME}-${PORTVERSION}
|
|
|
|
MANLANG= "" es sv fr nl
|
|
MAN1= faked.1 fakeroot.1
|
|
|
|
pre-configure:
|
|
@${REINPLACE_CMD} -e 's/-lpthread/${PTHREAD_LIBS}/g' \
|
|
${WRKSRC}/${CONFIGURE_SCRIPT}
|
|
|
|
post-install:
|
|
@${MV} ${PREFIX}/lib/libfakeroot-0.so ${PREFIX}/lib/libfakeroot.so.0
|
|
@${LN} -sf ${PREFIX}/lib/libfakeroot.so.0 ${PREFIX}/lib/libfakeroot-0.so
|
|
|
|
.include <bsd.port.mk>
|