1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-23 04:23:08 +00:00
freebsd-ports/sysutils/libieee1284/Makefile
Martin Wilke 3e4ed01146 - 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 17:56:05 +00:00

57 lines
1.1 KiB
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= stas@FreeBSD.org
COMMENT= IEEE1284 communications library
USE_BZIP2= yes
GNU_CONFIGURE= yes
USE_LDCONFIG= 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-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
.include <bsd.port.post.mk>