diff options
Diffstat (limited to 'sysutils/libieee1284/Makefile')
-rw-r--r-- | sysutils/libieee1284/Makefile | 50 |
1 files changed, 25 insertions, 25 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> |