2003-03-31 08:55:48 +00:00
|
|
|
# New ports collection makefile for: bglibs
|
|
|
|
# Date created: 03 Mar 2003
|
|
|
|
# Whom: Sergei Kolobov <sergei@kolobov.com>
|
|
|
|
#
|
|
|
|
# $FreeBSD$
|
|
|
|
#
|
|
|
|
|
|
|
|
PORTNAME= bglibs
|
2006-04-26 20:38:11 +00:00
|
|
|
PORTVERSION= 1.041
|
2003-03-31 08:55:48 +00:00
|
|
|
CATEGORIES= devel
|
2003-12-24 13:50:39 +00:00
|
|
|
MASTER_SITES= http://untroubled.org/${PORTNAME}/
|
2003-03-31 08:55:48 +00:00
|
|
|
|
2003-10-23 05:42:49 +00:00
|
|
|
MAINTAINER= sergei@FreeBSD.org
|
2003-03-31 08:55:48 +00:00
|
|
|
COMMENT= One stop library package by Bruce Guenter
|
|
|
|
|
2004-11-29 09:11:33 +00:00
|
|
|
NOT_FOR_ARCHS= alpha
|
|
|
|
|
2005-08-29 12:14:47 +00:00
|
|
|
USE_GPG= yes
|
|
|
|
SIG_SUFFIX= .sig
|
2005-10-18 17:29:19 +00:00
|
|
|
USE_GCC= 3.2+
|
2006-04-26 20:38:11 +00:00
|
|
|
USE_PERL5= yes
|
2003-12-24 13:50:39 +00:00
|
|
|
LDFLAGS?= -s
|
2005-08-29 12:14:47 +00:00
|
|
|
BGLIBS_INC= ${PREFIX}/include/${PORTNAME}
|
|
|
|
BGLIBS_LIB= ${PREFIX}/lib/${PORTNAME}
|
2003-06-12 01:51:41 +00:00
|
|
|
|
2003-12-24 13:50:39 +00:00
|
|
|
DOCS= NEWS README TODO doc/html/*
|
2006-04-26 20:38:11 +00:00
|
|
|
MAN1= cli-generate.1
|
2003-03-31 08:55:48 +00:00
|
|
|
|
2003-12-24 13:50:39 +00:00
|
|
|
do-configure:
|
|
|
|
${ECHO_CMD} "${CC} ${CFLAGS}" > ${WRKSRC}/conf-cc
|
|
|
|
${ECHO_CMD} "${CC} ${LDFLAGS}" > ${WRKSRC}/conf-ld
|
2005-08-30 08:39:29 +00:00
|
|
|
${ECHO_CMD} "${PREFIX}" > ${WRKSRC}/conf-home
|
|
|
|
${ECHO_CMD} "${PREFIX}/bin" > ${WRKSRC}/conf-bin
|
2006-04-26 20:38:11 +00:00
|
|
|
${ECHO_CMD} "${PREFIX}/man" > ${WRKSRC}/conf-man
|
2005-08-29 12:14:47 +00:00
|
|
|
${ECHO_CMD} "${BGLIBS_INC}" > ${WRKSRC}/conf-include
|
|
|
|
${ECHO_CMD} "${BGLIBS_LIB}" > ${WRKSRC}/conf-lib
|
2003-03-31 08:55:48 +00:00
|
|
|
|
|
|
|
.if !defined(NOPORTDOCS)
|
2005-08-29 12:14:47 +00:00
|
|
|
post-install:
|
2003-03-31 08:55:48 +00:00
|
|
|
@${MKDIR} ${DOCSDIR}
|
|
|
|
cd ${WRKSRC} && ${INSTALL_DATA} ${DOCS} ${DOCSDIR}
|
|
|
|
.endif
|
|
|
|
|
2004-11-18 17:31:02 +00:00
|
|
|
.include <bsd.port.mk>
|