3f651573ad
Begin autotools sanitization sequence by requiring ports to explicitly specify which version of {libtool,autoconf,automake} they need, erasing the concept of a "system default". For ports-in-waiting: USE_LIBTOOL=YES -> USE_LIBTOOL_VER=13 USE_AUTOCONF=YES -> USE_AUTOCONF_VER=213 USE_AUTOMAKE=YES -> USE_AUTOMAKE_VER=14 Ports attempting to use the old style system after June 1st 2004 will be sorely disappointed.
47 lines
1.2 KiB
Makefile
47 lines
1.2 KiB
Makefile
# New ports collection makefile for: florist
|
|
# Date created: 1 Sep 2002
|
|
# Whom: Vadim Godunko <vgodunko@vipmail.ru>
|
|
#
|
|
# $FreeBSD$
|
|
#
|
|
|
|
PORTNAME= florist
|
|
PORTVERSION= 3.15p
|
|
PORTREVISION= 1
|
|
CATEGORIES= devel
|
|
MASTER_SITES= ftp://cs.nyu.edu/pub/gnat/${PORTVERSION}/
|
|
DISTNAME= florist-${PORTVERSION}-src
|
|
EXTRACT_SUFX= .tgz
|
|
|
|
MAINTAINER= vgodunko@vipmail.ru
|
|
COMMENT= FSU implementation of POSIX.5
|
|
|
|
BUILD_DEPENDS= adagcc:${PORTSDIR}/lang/gnat
|
|
|
|
USE_AUTOCONF_VER= 213
|
|
USE_GMAKE= yes
|
|
CONFIGURE_ARGS= --enable-threads
|
|
CONFIGURE_ENV= CPPFLAGS="${CPPFLAGS} ${PTHREAD_CFLAGS}" \
|
|
LIBS="${LIBS} ${PTHREAD_LIBS}"
|
|
MAKEFILE= "${FILESDIR}/Makefile.bsd"
|
|
MAKE_ARGS= GMAKE=${GMAKE} PORTVERSION=${PORTVERSION} LN=${LN} \
|
|
RM=${RM}
|
|
INSTALLS_SHLIB= yes
|
|
|
|
post-extract:
|
|
# add FreeBSD configuration
|
|
@${CP} ${FILESDIR}/pconfig.FreeBSD \
|
|
${WRKSRC}/configs
|
|
|
|
do-install:
|
|
@${MKDIR} ${PREFIX}/lib/florist
|
|
@${INSTALL_DATA} ${WRKSRC}/floristlib/*.ad[sb] \
|
|
${WRKSRC}/floristlib/*.ali \
|
|
${PREFIX}/lib/florist
|
|
@${INSTALL_DATA} ${WRKSRC}/floristlib/libflorist.a ${PREFIX}/lib
|
|
@${INSTALL_DATA} ${WRKSRC}/libflorist-${PORTVERSION}.so.1 ${PREFIX}/lib
|
|
@${LN} -sf ${PREFIX}/lib/libflorist-${PORTVERSION}.so.1 \
|
|
${PREFIX}/lib/libflorist-${PORTVERSION}.so
|
|
|
|
.include <bsd.port.mk>
|