freebsd-ports/devel/skalibs/Makefile
Dennis Herrmann 2b3b399de8 - Use my FreeBSD address on the ports I maintain
Approved by:	tabthorpe (co-mentor)
2009-03-06 18:14:36 +00:00

43 lines
1.1 KiB
Makefile

# New ports collection makefile for: skalibs
# Date created: 2003-06-25
# Whom: Sergei Kolobov <sergei@kolobov.com>
#
# $FreeBSD$
#
PORTNAME= skalibs
PORTVERSION= 0.47
CATEGORIES= devel
MASTER_SITES= http://www.skarnet.org/software/${PORTNAME}/
MAINTAINER= dhn@FreeBSD.org
COMMENT= General purpose C libraries used by skarnet.org software
LDFLAGS?= -s
STRIPFLAGS?= -x
WRKSRC= ${WRKDIR}/prog/${DISTNAME}
DOCS= package/CHANGES package/README package/THANKS doc/*.html
do-configure:
${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
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>