1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-04 01:48:54 +00:00
freebsd-ports/databases/libudbc/Makefile
Martin Wilke 3e4ed01146 - Remove unneeded dependency from gtk12/gtk20 [1]
- Remove USE_XLIB/USE_X_PREFIX/USE_XPM in favor of USE_XORG
- Remove X11BASE support in favor of LOCALBASE or PREFIX
- Use USE_LDCONFIG instead of INSTALLS_SHLIB
- Remove unneeded USE_GCC 3.4+

Thanks to all Helpers:
	Dmitry Marakasov, Chess Griffin, beech@, dinoex, rafan, gahr,
	ehaupt, nox, itetcu, flz, pav

PR:		116263
Tested on:	pointyhat
Approved by:	portmgr (pav)
2008-04-19 17:56:05 +00:00

57 lines
2.3 KiB
Makefile

# New ports collection makefile for: libudbc
# Date created: 22 Oct 2001
# Whom: Eugene Grosbein <eugen@grosbein.pp.ru>
#
# $FreeBSD$
#
PORTNAME= libudbc
PORTVERSION= 4.1
CATEGORIES= databases
MASTER_SITES= ftp://ftp.openlinksw.co.uk/open41/ \
ftp://www.kuzbass.ru/pub/FreeBSD/ports/distfiles/ \
ftp://ftp.svzserv.kemerovo.su/pub/FreeBSD/distfiles.misc/
DISTNAME= f6kuzzzz
EXTRACT_SUFX= .taz
LIB_DEPENDS= c.4:${PORTSDIR}/misc/compat4x
MAINTAINER= eugen@grosbein.pp.ru
COMMENT= Openlink UDBC SDK
NO_WRKSUBDIR= yes
NO_BUILD= yes
USE_LDCONFIG= yes
ONLY_FOR_ARCHS= i386
RESTRICTED= 'Downloading and redistribution terms are unclear'
do-install:
@${INSTALL_PROGRAM} ${WRKDIR}/udbcsdk/examples/udbctest ${PREFIX}/bin
@${MKDIR} ${PREFIX}/include/udbc
@${INSTALL_DATA} ${WRKDIR}/udbcsdk/include/libudbc.h ${PREFIX}/include
@${INSTALL_DATA} ${WRKDIR}/udbcsdk/include/udbc/udbcext.h ${PREFIX}/include/udbc
@${INSTALL_DATA} ${WRKDIR}/udbcsdk/include/udbc/udbcimpl.h ${PREFIX}/include/udbc
@${INSTALL_DATA} ${WRKDIR}/udbcsdk/include/udbc/udbcodb3.h ${PREFIX}/include/udbc
@${INSTALL_DATA} ${WRKDIR}/udbcsdk/include/udbc/udbcodbc.h ${PREFIX}/include/udbc
@${INSTALL_DATA} ${WRKDIR}/udbcsdk/include/udbc/udbcprto.h ${PREFIX}/include/udbc
@${INSTALL_DATA} ${WRKDIR}/udbcsdk/include/udbc/udbcsag.h ${PREFIX}/include/udbc
@${INSTALL_DATA} ${WRKDIR}/udbcsdk/include/udbc/udbctype.h ${PREFIX}/include/udbc
@${INSTALL_DATA} ${WRKDIR}/udbcsdk/lib/libudbc.a ${PREFIX}/lib
@${INSTALL} -c -o ${SHAREOWN} -g ${SHAREGRP} -m 755 ${WRKDIR}/udbcsdk/lib/libudbc.la ${PREFIX}/lib
@${INSTALL} -c -o ${LIBOWN} -g ${LIBGRP} -m 755 ${WRKDIR}/udbcsdk/lib/libudbc.so ${PREFIX}/lib
@${LN} -f ${PREFIX}/lib/libudbc.so ${PREFIX}/lib/libudbc.so.3
.if !defined(NOPORTDOCS)
@${MKDIR} ${PREFIX}/share/doc/${PORTNAME}
@${INSTALL_DATA} ${WRKDIR}/udbcsdk/doc/udbc.doc ${PREFIX}/share/doc/${PORTNAME}
@${INSTALL_DATA} ${WRKDIR}/udbcsdk/doc/udbc.ini ${PREFIX}/share/doc/${PORTNAME}/udbc.ini.sample
@${MKDIR} ${PREFIX}/share/examples/${PORTNAME}
@${SED} "s,../,${PREFIX}/," <${WRKDIR}/udbcsdk/examples/Makefile >${PREFIX}/share/examples/${PORTNAME}/Makefile
@${INSTALL_DATA} ${WRKDIR}/udbcsdk/examples/udbctest.c ${PREFIX}/share/examples/${PORTNAME}
post-install:
@${SED} "s'PREFIX'${PREFIX}'" <pkg-message
.endif
.include <bsd.port.mk>