freebsd-ports/databases/libiodbc/Makefile
Johann Visagie 46e10b77bd - Update to version 3.0.5
- Add dependency on GTK (new in this version) via USE_GTK knob
- Install sample configuration files
- Install odbctest binary
- Tweak installation directory of configuration files, and name of odbctest
  binary so as not to conflict with the port databases/unixODBC
- Install some basic documentation in $DOCSDIR
- Expand and clarify pkg-descr; reword pkg-comment to be more correct

Approved by:	No response in ~25h from maintainer.  (Apologies for the
		short wait;  I have a port waiting in the wings which depends
		on this one.)
2001-10-03 12:54:13 +00:00

37 lines
980 B
Makefile

# New ports collection makefile for: libiodbc
# Date created: 24 Mar 2000
# Whom: erikhb@bgnett.no
#
# $FreeBSD$
#
# Note: The location of ${INIDIR} and the installed name of the "odbctest"
# binary were chosen such that this port does not conflict with
# databases/unixODBC.
PORTNAME= libiodbc
PORTVERSION= 3.0.5
CATEGORIES= databases
MASTER_SITES= http://www.iodbc.org/dist/
MAINTAINER= erikhb@bgnett.no
USE_LIBTOOL= yes
USE_GMAKE= yes
USE_GTK= yes
INSTALLS_SHLIB= yes
INIDIR= ${PREFIX}/etc/${PORTNAME}
CONFIGURE_ARGS= --with-iodbc-inidir=${INIDIR}
post-install:
@ ${MKDIR} ${PREFIX}/bin && ${INSTALL_PROGRAM} \
${WRKSRC}/samples/odbctest ${PREFIX}/bin/iodbc-odbctest
@ ${MKDIR} ${INIDIR} && \
${INSTALL_DATA} ${WRKSRC}/etc/odbc*.ini.sample ${INIDIR}
.if !defined(NOPORTDOCS)
@ ${MKDIR} ${DOCSDIR}
.for docfile in AUTHORS COPYING ChangeLog NEWS README
@ ${INSTALL_DATA} ${WRKSRC}/${docfile} ${DOCSDIR}
.endfor
.endif
.include <bsd.port.mk>