2013-03-21 18:43:46 +01:00
|
|
|
# Created by: Sergey Matveychuk <sem@FreeBSD.org>
|
2005-12-11 11:33:44 +01:00
|
|
|
# $FreeBSD$
|
|
|
|
|
|
|
|
PORTNAME= pxlib
|
2008-07-02 17:35:53 +02:00
|
|
|
PORTVERSION= 0.6.3
|
2010-05-31 04:01:56 +02:00
|
|
|
PORTREVISION= 1
|
2005-12-11 11:33:44 +01:00
|
|
|
CATEGORIES= databases
|
2009-08-22 02:18:43 +02:00
|
|
|
MASTER_SITES= SF
|
2005-12-11 11:33:44 +01:00
|
|
|
|
2014-01-16 16:43:27 +01:00
|
|
|
MAINTAINER= ports@FreeBSD.org
|
2005-12-11 11:33:44 +01:00
|
|
|
COMMENT= C library to read various Paradox files
|
|
|
|
|
2012-06-30 16:53:22 +02:00
|
|
|
BUILD_DEPENDS= p5-XML-Parser>=0:${PORTSDIR}/textproc/p5-XML-Parser
|
2005-12-11 11:33:44 +01:00
|
|
|
|
|
|
|
USE_GMAKE= yes
|
2010-12-04 08:34:27 +01:00
|
|
|
USE_AUTOTOOLS= libtool
|
2013-09-17 11:00:42 +02:00
|
|
|
USES= gettext iconv perl5
|
2005-12-11 11:33:44 +01:00
|
|
|
GNU_CONFIGURE= yes
|
2011-09-24 00:26:39 +02:00
|
|
|
CPPFLAGS+= -I${LOCALBASE}/include
|
|
|
|
LDFLAGS+= -L${LOCALBASE}/lib
|
2005-12-11 11:33:44 +01:00
|
|
|
|
- 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 19:56:05 +02:00
|
|
|
USE_LDCONFIG= yes
|
2006-02-11 12:43:52 +01:00
|
|
|
|
2013-03-21 18:43:46 +01:00
|
|
|
OPTIONS_DEFINE= MAN
|
|
|
|
MAN_DESC= Build and install manpages
|
2005-12-11 11:33:44 +01:00
|
|
|
|
2013-09-20 18:13:47 +02:00
|
|
|
NO_STAGE= yes
|
2013-03-21 18:43:46 +01:00
|
|
|
.include <bsd.port.options.mk>
|
2005-12-11 11:33:44 +01:00
|
|
|
|
2013-03-21 18:43:46 +01:00
|
|
|
.if ${PORT_OPTIONS:MMAN}
|
2006-02-11 12:43:52 +01:00
|
|
|
BUILD_DEPENDS+= docbook-to-man:${PORTSDIR}/textproc/docbook-to-man \
|
2005-12-11 11:33:44 +01:00
|
|
|
docbook2man:${PORTSDIR}/textproc/docbook-utils
|
|
|
|
|
2006-02-11 12:43:52 +01:00
|
|
|
MAN3= PX_add_primary_index.3 PX_close.3 PX_close_blob.3 PX_create_blob_file.3 \
|
|
|
|
PX_create_file.3 PX_create_fp.3 PX_date2string.3 PX_delete.3 \
|
|
|
|
PX_delete_record.3 PX_get_data_alpha.3 PX_get_data_bcd.3 \
|
2005-12-11 11:33:44 +01:00
|
|
|
PX_get_data_blob.3 PX_get_data_byte.3 PX_get_data_bytes.3 \
|
|
|
|
PX_get_data_double.3 PX_get_data_graphic.3 PX_get_data_long.3 \
|
2006-02-11 12:43:52 +01:00
|
|
|
PX_get_data_short.3 PX_get_field.3 PX_get_fields.3 PX_get_majorversion.3 \
|
|
|
|
PX_get_minorversion.3 PX_get_num_fields.3 PX_get_num_records.3 \
|
|
|
|
PX_get_opaque.3 PX_get_parameter.3 PX_get_record.3 PX_get_record2.3 \
|
|
|
|
PX_get_recordsize.3 PX_get_subminorversion.3 PX_get_value.3 \
|
|
|
|
PX_insert_record.3 PX_new.3 PX_new2.3 PX_new3.3 PX_new_blob.3 \
|
|
|
|
PX_open_blob_file.3 PX_open_blob_fp.3 PX_open_file.3 PX_open_fp.3 \
|
|
|
|
PX_open_gsf.3 PX_put_data_alpha.3 PX_put_data_bcd.3 PX_put_data_byte.3 \
|
2005-12-11 11:33:44 +01:00
|
|
|
PX_put_data_bytes.3 PX_put_data_double.3 PX_put_data_long.3 \
|
2006-02-11 12:43:52 +01:00
|
|
|
PX_put_data_short.3 PX_put_record.3 PX_put_recordn.3 PX_read_blobdata.3 \
|
|
|
|
PX_read_primary_index.3 PX_retrieve_record.3 PX_set_blob_file.3 \
|
2005-12-11 11:33:44 +01:00
|
|
|
PX_set_inputencoding.3 PX_set_parameter.3 PX_set_tablename.3 \
|
2006-02-11 12:43:52 +01:00
|
|
|
PX_set_targetencoding.3 PX_set_value.3 PX_strdup.3 PX_time2string.3 \
|
|
|
|
PX_timestamp2string.3 PX_update_record.3 PX_write_primary_index.3 pxlib.3
|
2005-12-11 11:33:44 +01:00
|
|
|
.else
|
|
|
|
pre-build:
|
|
|
|
${REINPLACE_CMD} -e 's/^DOCDIR =.*/DOCDIR =/' ${WRKSRC}/Makefile
|
|
|
|
.endif
|
|
|
|
|
2013-03-21 18:43:46 +01:00
|
|
|
.include <bsd.port.mk>
|