pkgsrc/net/coda5_server/Makefile
jlam dbfde59b14 The buildlink include and lib directories are added to CFLAGS, CPPFLAGS,
CXXFLAGS, and LDFLAGS by the buildlink.mk files so remove the extra
definitions to add them from the package Makefiles.  As advised by the
bsd.buildlink.mk file, also ensure that the buildlink.mk files are
included prior to defining any package-specific CFLAGS/LDFLAGS to ensure
that the buildlink directories are at the head of the compiler search
paths.
2001-06-11 02:05:07 +00:00

46 lines
1.2 KiB
Makefile

# $NetBSD: Makefile,v 1.30 2001/06/11 02:05:13 jlam Exp $
#
DISTNAME= coda-5.3.13
PKGNAME= coda-server-5.3.13
CATEGORIES= net
MASTER_SITES= ftp://ftp.coda.cs.cmu.edu/pub/coda/src/
MAINTAINER= phil@cs.wwu.edu
HOMEPAGE= http://www.coda.cs.cmu.edu/
COMMENT= server programs for a replicated high-performance network file system
# Only enable platforms that can build "lwp".
ONLY_FOR_PLATFORM= NetBSD-*-i386 NetBSD-*-m68k NetBSD-*-sparc
ALL_TARGET= coda
INSTALL_TARGET= server-install
USE_PERL5= yes
GNU_CONFIGURE= yes
USE_GMAKE= yes
.include "../../devel/lwp/buildlink.mk"
.include "../../devel/readline/buildlink.mk"
.include "../../devel/rpc2/buildlink.mk"
.include "../../devel/rvm/buildlink.mk"
DEINSTALL_FILE= ${WRKDIR}/DEINSTALL
INSTALL_FILE= ${WRKDIR}/INSTALL
INSTALL_SUBST= CAT=${CAT:Q}
INSTALL_SUBST+= LN=${LN:Q}
INSTALL_SUBST+= RM=${RM:Q}
INSTALL_SUBST+= RMDIR=${RMDIR:Q}
INSTALL_SUBST+= TRUE=${TRUE:Q}
pre-install:
${SED} ${INSTALL_SUBST:S/=/@!/:S/$/!g/:S/^/ -e s!@/} \
${PKGDIR}/DEINSTALL > ${DEINSTALL_FILE}
${SED} ${INSTALL_SUBST:S/=/@!/:S/$/!g/:S/^/ -e s!@/} \
${PKGDIR}/INSTALL > ${INSTALL_FILE}
post-install:
PKG_PREFIX=${PREFIX} ${SH} ${INSTALL_FILE} ${PKGNAME} POST-INSTALL
.include "../../mk/bsd.pkg.mk"