2895ffbe5f
- Install libraries into ${PREFIX}/lib/skalibs to avoid conflicts with dns/bind9, dns/bind9-dlz, dns/bind9-sdb-mysql ports [1] Submitted by: Oliver Eikemeier <eikemeier@fillmore-labs.com> [1] Approved by: krion (implicit)
36 lines
923 B
Makefile
36 lines
923 B
Makefile
# New ports collection makefile for: skalibs
|
|
# Date created: 2003-06-25
|
|
# Whom: Sergei Kolobov <sergei@kolobov.com>
|
|
#
|
|
# $FreeBSD$
|
|
#
|
|
|
|
PORTNAME= skalibs
|
|
PORTVERSION= 0.33
|
|
CATEGORIES= devel
|
|
MASTER_SITES= http://www.skarnet.org/software/${PORTNAME}/
|
|
|
|
MAINTAINER= sergei@FreeBSD.org
|
|
COMMENT= General purpose C libraries used by skarnet.org software
|
|
|
|
WRKSRC= ${WRKDIR}/prog/${DISTNAME}
|
|
|
|
DOCS= package/CHANGES package/README package/THANKS doc/*.html
|
|
|
|
do-configure:
|
|
${ECHO_CMD} "${CC} ${CFLAGS}" > ${WRKSRC}/conf-compile/conf-cc
|
|
|
|
do-build:
|
|
cd ${WRKSRC} && package/compile
|
|
|
|
do-install:
|
|
@${MKDIR} ${PREFIX}/include/${PORTNAME}
|
|
${INSTALL_DATA} ${WRKSRC}/include/* ${PREFIX}/include/${PORTNAME}
|
|
@${MKDIR} ${PREFIX}/lib/${PORTNAME}
|
|
${INSTALL_DATA} ${WRKSRC}/library/* ${PREFIX}/lib/${PORTNAME}
|
|
.if !defined(NOPORTDOCS)
|
|
@${MKDIR} ${DOCSDIR}
|
|
cd ${WRKSRC} && ${INSTALL_DATA} ${DOCS} ${DOCSDIR}
|
|
.endif
|
|
|
|
.include <bsd.port.mk>
|