1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-26 00:55:14 +00:00
freebsd-ports/devel/libublio/Makefile
Baptiste Daroussin 1ba3d2f8f3 Fix build as a user
While here cleanup a bit
2014-02-17 13:50:43 +00:00

43 lines
883 B
Makefile

# Created by: alepulver
# $FreeBSD$
PORTNAME= libublio
PORTVERSION= 20070103
CATEGORIES= devel
MASTER_SITES= ${MASTER_SITE_LOCAL}
MASTER_SITE_SUBDIR= mandree
MAINTAINER= mandree@FreeBSD.org
COMMENT= User space caching library
USE_LDCONFIG= yes
.if defined(NO_PROFILE) || defined(NOPROFILE) || defined(WITHOUT_PROFILE)
PLIST_SUB+= PROFLIB="@comment "
.else
PLIST_SUB+= PROFLIB=""
.endif
USES= uidfix
SRCCONF= /dev/null
MAKE_ENV+= SRCCONF=${SRCCONF}
OPTIONS_DEFINE= DOCS
post-extract:
@${CP} ${FILESDIR}/${MAKEFILE} ${WRKSRC}
# this pre-install is only for debugging pointyhat failures
pre-install:
@${ECHO_CMD} "===> Environment:"
@${SETENV} | ${SETENV} LC_ALL=C ${SORT} -f
@${ECHO_CMD} "===> Makefiles used:"
@${ECHO_CMD} ${.MAKEFILE_LIST}
post-install:
@${MKDIR} ${STAGEDIR}${DOCSDIR}
${INSTALL_DATA} ${WRKSRC}/README ${STAGEDIR}${DOCSDIR}
.include <bsd.port.mk>