svn commit: r348209 - in head/sysutils/libieee1284: . files
Alexey Dokuchaev
danfe at FreeBSD.org
Fri Mar 14 11:18:42 UTC 2014
Author: danfe
Date: Fri Mar 14 11:18:41 2014
New Revision: 348209
URL: http://svnweb.freebsd.org/changeset/ports/348209
QAT: https://qat.redports.org/buildarchive/r348209/
Log:
Stagify, use OPTIONS helpers, cleanup the port, augment port description.
Deleted:
head/sysutils/libieee1284/files/
Modified:
head/sysutils/libieee1284/Makefile
head/sysutils/libieee1284/pkg-descr
head/sysutils/libieee1284/pkg-plist
Modified: head/sysutils/libieee1284/Makefile
==============================================================================
--- head/sysutils/libieee1284/Makefile Fri Mar 14 10:51:43 2014 (r348208)
+++ head/sysutils/libieee1284/Makefile Fri Mar 14 11:18:41 2014 (r348209)
@@ -3,51 +3,37 @@
PORTNAME= libieee1284
PORTVERSION= 0.2.10
-PORTREVISION= 0
CATEGORIES= sysutils
MASTER_SITES= http://cyberelk.net/tim/data/libieee1284/stable/
MAINTAINER= ports at FreeBSD.org
-COMMENT= IEEE1284 communications library
+COMMENT= IEEE1284 communication library
+
+LICENSE= GPLv2
-USE_BZIP2= yes
-GNU_CONFIGURE= yes
-USE_LDCONFIG= yes
ONLY_FOR_ARCHS= i386
-.if defined(WITH_PYTHON)
-USE_PYTHON= yes
-.endif
-
-NO_STAGE= yes
-.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
+USES= tar:bzip2
+GNU_CONFIGURE= yes
+USE_LDCONFIG= yes
-.if !defined(NOPORTDOCS)
PORTDOCS= README README.FreeBSD
-.endif
+
+OPTIONS_DEFINE= PYTHON
+OPTIONS_SUB= yes
+
+PYTHON_USE= PYTHON=yes
+PYTHON_CFLAGS= -I${PYTHON_INCLUDEDIR}
+PYTHON_LDFLAGS= -L${PYTHON_LIBDIR}
+PYTHON_CONFIGURE_ON= --with-python=yes
+PYTHON_CONFIGURE_OFF= --with-python=no
post-patch:
@${REINPLACE_CMD} -E -e 's,(objformat=).*,\1elf,' \
${WRKSRC}/configure
post-install:
-.if !defined(NOPORTDOCS)
- ${MKDIR} ${DOCSDIR}
-.for doc in ${PORTDOCS}
- ${INSTALL_DATA} ${WRKSRC}/${doc} ${DOCSDIR}
-.endfor
-.endif
+ @${MKDIR} ${STAGEDIR}${DOCSDIR}
+ ${INSTALL_DATA} ${PORTDOCS:S,^,${WRKSRC}/,} ${STAGEDIR}${DOCSDIR}
-.include <bsd.port.post.mk>
+.include <bsd.port.mk>
Modified: head/sysutils/libieee1284/pkg-descr
==============================================================================
--- head/sysutils/libieee1284/pkg-descr Fri Mar 14 10:51:43 2014 (r348208)
+++ head/sysutils/libieee1284/pkg-descr Fri Mar 14 11:18:41 2014 (r348209)
@@ -1,3 +1,8 @@
-IEEE1284 communications library
+This library is intended to be used by applications that need to communicate
+with (or at least identify) devices that are attached via a parallel port.
+
+The aim of this library is to take all the worry about the above wrinkles
+from the application. It will figure out which methods are appropriate for
+the currently running kernel (or operating system).
WWW: http://cyberelk.net/tim/libieee1284/
Modified: head/sysutils/libieee1284/pkg-plist
==============================================================================
--- head/sysutils/libieee1284/pkg-plist Fri Mar 14 10:51:43 2014 (r348208)
+++ head/sysutils/libieee1284/pkg-plist Fri Mar 14 11:18:41 2014 (r348209)
@@ -4,6 +4,45 @@ lib/libieee1284.a
lib/libieee1284.la
lib/libieee1284.so
lib/libieee1284.so.5
+man/man3/ieee1284_byte_read.3.gz
+man/man3/ieee1284_claim.3.gz
+man/man3/ieee1284_close.3.gz
+man/man3/ieee1284_compat_write.3.gz
+man/man3/ieee1284_data_dir.3.gz
+man/man3/ieee1284_do_nack_handshake.3.gz
+man/man3/ieee1284_ecp_fwd_to_rev.3.gz
+man/man3/ieee1284_ecp_read_addr.3.gz
+man/man3/ieee1284_ecp_read_data.3.gz
+man/man3/ieee1284_ecp_rev_to_fwd.3.gz
+man/man3/ieee1284_ecp_write_addr.3.gz
+man/man3/ieee1284_ecp_write_data.3.gz
+man/man3/ieee1284_epp_read_addr.3.gz
+man/man3/ieee1284_epp_read_data.3.gz
+man/man3/ieee1284_epp_write_addr.3.gz
+man/man3/ieee1284_epp_write_data.3.gz
+man/man3/ieee1284_find_ports.3.gz
+man/man3/ieee1284_free_ports.3.gz
+man/man3/ieee1284_frob_control.3.gz
+man/man3/ieee1284_get_deviceid.3.gz
+man/man3/ieee1284_get_irq_fd.3.gz
+man/man3/ieee1284_negotiate.3.gz
+man/man3/ieee1284_nibble_read.3.gz
+man/man3/ieee1284_open.3.gz
+man/man3/ieee1284_read_control.3.gz
+man/man3/ieee1284_read_data.3.gz
+man/man3/ieee1284_read_status.3.gz
+man/man3/ieee1284_ref.3.gz
+man/man3/ieee1284_release.3.gz
+man/man3/ieee1284_set_timeout.3.gz
+man/man3/ieee1284_terminate.3.gz
+man/man3/ieee1284_unref.3.gz
+man/man3/ieee1284_wait_data.3.gz
+man/man3/ieee1284_wait_status.3.gz
+man/man3/ieee1284_write_control.3.gz
+man/man3/ieee1284_write_data.3.gz
+man/man3/libieee1284.3.gz
+man/man3/parport.3.gz
+man/man3/parport_list.3.gz
%%PYTHON%%%%PYTHON_SITELIBDIR%%/ieee1284module.a
%%PYTHON%%%%PYTHON_SITELIBDIR%%/ieee1284module.la
%%PYTHON%%%%PYTHON_SITELIBDIR%%/ieee1284module.so
More information about the svn-ports-all
mailing list