freebsd-ports/sysutils/libieee1284/Makefile
Rong-En Fan b4c807a674 - 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>
2006-08-07 03:30:15 +00:00

52 lines
999 B
Makefile

# New ports collection makefile for: libieee1284
# Date created: 2004-12-29
# Whom: Michael Johnson <ahze@FreeBSD.org>
#
# $FreeBSD$
#
PORTNAME= libieee1284
PORTVERSION= 0.2.10
PORTREVISION= 0
CATEGORIES= sysutils
MASTER_SITES= http://cyberelk.net/tim/data/libieee1284/stable/
MAINTAINER= ssedov@mbsd.msk.ru
COMMENT= IEEE1284 communications library
USE_BZIP2= yes
GNU_CONFIGURE= yes
INSTALLS_SHLIB= yes
ONLY_FOR_ARCHS= i386
.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)
${MKDIR} ${DOCSDIR}
.for doc in ${PORTDOCS}
${INSTALL_DATA} ${WRKSRC}/${doc} ${DOCSDIR}
.endfor
.endif
.include <bsd.port.post.mk>