aboutsummaryrefslogtreecommitdiffstats
path: root/sysutils
diff options
context:
space:
mode:
authorrafan <rafan@FreeBSD.org>2006-08-07 11:30:15 +0800
committerrafan <rafan@FreeBSD.org>2006-08-07 11:30:15 +0800
commita1a8c5f494d2b2b3e7b927eba7c33149fb7a465f (patch)
treec29f84394e038f916e7fdc83acdc60e77a555f4f /sysutils
parent68fb7061d9cdfbdb45246553f2fac36079e3ecd6 (diff)
downloadfreebsd-ports-gnome-a1a8c5f494d2b2b3e7b927eba7c33149fb7a465f.tar.gz
freebsd-ports-gnome-a1a8c5f494d2b2b3e7b927eba7c33149fb7a465f.tar.zst
freebsd-ports-gnome-a1a8c5f494d2b2b3e7b927eba7c33149fb7a465f.zip
- Update to 0.2.10
- Move manpage list to separate file - Add python bindings support - Pass maintainership to submitter PR: ports/101372 Submitted by: Stanislav Sedov <ssedov at mbsd.msk.ru>
Diffstat (limited to 'sysutils')
-rw-r--r--sysutils/libieee1284/Makefile50
-rw-r--r--sysutils/libieee1284/distinfo6
-rw-r--r--sysutils/libieee1284/files/man339
-rw-r--r--sysutils/libieee1284/pkg-plist11
4 files changed, 78 insertions, 28 deletions
diff --git a/sysutils/libieee1284/Makefile b/sysutils/libieee1284/Makefile
index 8a489e4e235e..7de1b0a9b11d 100644
--- a/sysutils/libieee1284/Makefile
+++ b/sysutils/libieee1284/Makefile
@@ -6,12 +6,12 @@
#
PORTNAME= libieee1284
-PORTVERSION= 0.2.8
-PORTREVISION= 1
+PORTVERSION= 0.2.10
+PORTREVISION= 0
CATEGORIES= sysutils
MASTER_SITES= http://cyberelk.net/tim/data/libieee1284/stable/
-MAINTAINER= ports@FreeBSD.org
+MAINTAINER= ssedov@mbsd.msk.ru
COMMENT= IEEE1284 communications library
USE_BZIP2= yes
@@ -19,27 +19,27 @@ GNU_CONFIGURE= yes
INSTALLS_SHLIB= yes
ONLY_FOR_ARCHS= i386
-PORTDOCS= README.FreeBSD README
-MAN3= libieee1284.3 parport.3 parport_list.3 ieee1284_find_ports.3 \
- ieee1284_free_ports.3 ieee1284_get_deviceid.3 ieee1284_open.3 \
- ieee1284_close.3 ieee1284_ref.3 ieee1284_unref.3 ieee1284_claim.3 \
- ieee1284_release.3 ieee1284_read_data.3 ieee1284_write_data.3 \
- ieee1284_data_dir.3 ieee1284_wait_data.3 ieee1284_read_status.3 \
- ieee1284_wait_status.3 ieee1284_read_control.3 ieee1284_write_control.3 \
- ieee1284_frob_control.3 ieee1284_do_nack_handshake.3 ieee1284_negotiate.3 \
- ieee1284_terminate.3 ieee1284_ecp_fwd_to_rev.3 ieee1284_ecp_rev_to_fwd.3 \
- ieee1284_nibble_read.3 ieee1284_compat_write.3 ieee1284_byte_read.3 \
- ieee1284_epp_read_data.3 ieee1284_epp_write_data.3 ieee1284_epp_read_addr.3 \
- ieee1284_epp_write_addr.3 ieee1284_ecp_read_data.3 ieee1284_ecp_write_data.3 \
- ieee1284_ecp_read_addr.3 ieee1284_ecp_write_addr.3 ieee1284_get_irq_fd.3 \
- ieee1284_set_timeout.3
-
-PLIST_FILES= bin/libieee1284_test \
- include/ieee1284.h \
- lib/libieee1284.a \
- lib/libieee1284.la \
- lib/libieee1284.so \
- lib/libieee1284.so.5
+.if defined(WITH_PYTHON)
+USE_PYTHON= yes
+.endif
+
+.include <bsd.port.pre.mk>
+
+MAN3!= ${CAT} ${FILESDIR}/man3
+
+.if defined(WITH_PYTHON)
+CFLAGS+= -I${PYTHON_INCLUDEDIR}
+LDFLAGS+= -L${PYTHON_LIBDIR}
+CONFIGURE_ARGS+=--with-python=yes
+PLIST_SUB+= PYTHON=""
+.else
+CONFIGURE_ARGS+=--with-python=no
+PLIST_SUB+= PYTHON="@comment "
+.endif
+
+.if !defined(NOPORTDOCS)
+PORTDOCS= README README.FreeBSD
+.endif
post-install:
.if !defined(NOPORTDOCS)
@@ -49,4 +49,4 @@ post-install:
.endfor
.endif
-.include <bsd.port.mk>
+.include <bsd.port.post.mk>
diff --git a/sysutils/libieee1284/distinfo b/sysutils/libieee1284/distinfo
index ce2ec575ed24..987cb594e814 100644
--- a/sysutils/libieee1284/distinfo
+++ b/sysutils/libieee1284/distinfo
@@ -1,3 +1,3 @@
-MD5 (libieee1284-0.2.8.tar.bz2) = 4bf1d9d15d2ecf0ea797becd29dbae75
-SHA256 (libieee1284-0.2.8.tar.bz2) = a8ae828b0003ad91d54849a8ee92d428c9a8f701571cb74c418bb35b9a46b6ea
-SIZE (libieee1284-0.2.8.tar.bz2) = 203750
+MD5 (libieee1284-0.2.10.tar.bz2) = 8b6e6bd74ad5e49e7fa5da07faf03e17
+SHA256 (libieee1284-0.2.10.tar.bz2) = 77a5b31aa1b1ca12ef8ac03b122cc1f45123fda736229e4f8b4e7bc49a1fe1fb
+SIZE (libieee1284-0.2.10.tar.bz2) = 271430
diff --git a/sysutils/libieee1284/files/man3 b/sysutils/libieee1284/files/man3
new file mode 100644
index 000000000000..e3bf0fc8c7e6
--- /dev/null
+++ b/sysutils/libieee1284/files/man3
@@ -0,0 +1,39 @@
+libieee1284.3
+parport.3
+parport_list.3
+ieee1284_find_ports.3
+ieee1284_free_ports.3
+ieee1284_get_deviceid.3
+ieee1284_open.3
+ieee1284_close.3
+ieee1284_ref.3
+ieee1284_unref.3
+ieee1284_claim.3
+ieee1284_release.3
+ieee1284_read_data.3
+ieee1284_write_data.3
+ieee1284_data_dir.3
+ieee1284_wait_data.3
+ieee1284_read_status.3
+ieee1284_wait_status.3
+ieee1284_read_control.3
+ieee1284_write_control.3
+ieee1284_frob_control.3
+ieee1284_do_nack_handshake.3
+ieee1284_negotiate.3
+ieee1284_terminate.3
+ieee1284_ecp_fwd_to_rev.3
+ieee1284_ecp_rev_to_fwd.3
+ieee1284_nibble_read.3
+ieee1284_compat_write.3
+ieee1284_byte_read.3
+ieee1284_epp_read_data.3
+ieee1284_epp_write_data.3
+ieee1284_epp_read_addr.3
+ieee1284_epp_write_addr.3
+ieee1284_ecp_read_data.3
+ieee1284_ecp_write_data.3
+ieee1284_ecp_read_addr.3
+ieee1284_ecp_write_addr.3
+ieee1284_get_irq_fd.3
+ieee1284_set_timeout.3
diff --git a/sysutils/libieee1284/pkg-plist b/sysutils/libieee1284/pkg-plist
new file mode 100644
index 000000000000..b84bad9a90a1
--- /dev/null
+++ b/sysutils/libieee1284/pkg-plist
@@ -0,0 +1,11 @@
+bin/libieee1284_test
+include/ieee1284.h
+lib/libieee1284.a
+lib/libieee1284.la
+lib/libieee1284.so
+lib/libieee1284.so.5
+%%PYTHON%%%%PYTHON_SITELIBDIR%%/ieee1284module.a
+%%PYTHON%%%%PYTHON_SITELIBDIR%%/ieee1284module.la
+%%PYTHON%%%%PYTHON_SITELIBDIR%%/ieee1284module.so
+%%PYTHON%%@dirrmtry %%PYTHON_SITELIBDIR%%
+%%PYTHON%%@dirrmtry %%PYTHON_LIBDIR%%