2003-10-03 15:06:01 +00:00
|
|
|
# New ports collection makefile for: skalibs
|
|
|
|
# Date created: 2003-06-25
|
|
|
|
# Whom: Sergei Kolobov <sergei@kolobov.com>
|
|
|
|
#
|
|
|
|
# $FreeBSD$
|
|
|
|
#
|
|
|
|
|
|
|
|
PORTNAME= skalibs
|
2004-06-10 21:01:41 +00:00
|
|
|
PORTVERSION= 0.43
|
2003-10-03 15:06:01 +00:00
|
|
|
CATEGORIES= devel
|
|
|
|
MASTER_SITES= http://www.skarnet.org/software/${PORTNAME}/
|
|
|
|
|
2003-10-23 05:42:49 +00:00
|
|
|
MAINTAINER= sergei@FreeBSD.org
|
2003-10-03 15:06:01 +00:00
|
|
|
COMMENT= General purpose C libraries used by skarnet.org software
|
|
|
|
|
2003-12-25 10:32:16 +00:00
|
|
|
LDFLAGS?= -s
|
|
|
|
STRIPFLAGS?= -x
|
|
|
|
|
2003-10-03 15:06:01 +00:00
|
|
|
WRKSRC= ${WRKDIR}/prog/${DISTNAME}
|
|
|
|
|
|
|
|
DOCS= package/CHANGES package/README package/THANKS doc/*.html
|
|
|
|
|
|
|
|
do-configure:
|
2003-12-25 10:32:16 +00:00
|
|
|
${ECHO_CMD} "${CC} ${CFLAGS}" > ${WRKSRC}/conf-compile/conf-cc
|
|
|
|
${ECHO_CMD} "${CC} ${LDFLAGS}" > ${WRKSRC}/conf-compile/conf-ld
|
|
|
|
${ECHO_CMD} "${STRIP_CMD} ${STRIPFLAGS}" \
|
|
|
|
> ${WRKSRC}/conf-compile/conf-striplibs
|
2003-10-03 15:06:01 +00:00
|
|
|
|
|
|
|
do-build:
|
|
|
|
cd ${WRKSRC} && package/compile
|
|
|
|
|
|
|
|
do-install:
|
|
|
|
@${MKDIR} ${PREFIX}/include/${PORTNAME}
|
|
|
|
${INSTALL_DATA} ${WRKSRC}/include/* ${PREFIX}/include/${PORTNAME}
|
2003-10-24 14:47:08 +00:00
|
|
|
@${MKDIR} ${PREFIX}/lib/${PORTNAME}
|
|
|
|
${INSTALL_DATA} ${WRKSRC}/library/* ${PREFIX}/lib/${PORTNAME}
|
2003-10-03 15:06:01 +00:00
|
|
|
.if !defined(NOPORTDOCS)
|
|
|
|
@${MKDIR} ${DOCSDIR}
|
|
|
|
cd ${WRKSRC} && ${INSTALL_DATA} ${DOCS} ${DOCSDIR}
|
|
|
|
.endif
|
|
|
|
|
|
|
|
.include <bsd.port.mk>
|