aboutsummaryrefslogtreecommitdiffstats
path: root/sysutils/libieee1284/Makefile
blob: db09febb2c55f2c26be8d5d20db2d67f5010b7ed (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
# Created by: Michael Johnson <ahze@FreeBSD.org>
# $FreeBSD$

PORTNAME=   libieee1284
PORTVERSION=    0.2.11
CATEGORIES= sysutils
MASTER_SITES=   SF

MAINTAINER= ports@FreeBSD.org
COMMENT=    IEEE 1284 communication library

LICENSE=    GPLv2+
LICENSE_FILE=   ${WRKSRC}/COPYING

ONLY_FOR_ARCHS= i386

USES=       libtool tar:bzip2
GNU_CONFIGURE=  yes
USE_LDCONFIG=   yes
INSTALL_TARGET= install-strip

PORTDOCS=   README README.FreeBSD

OPTIONS_DEFINE= DOCS PYTHON
OPTIONS_SUB=    yes

PYTHON_USES=    python
PYTHON_CFLAGS=  -I${PYTHON_INCLUDEDIR}
PYTHON_LDFLAGS= -L${PYTHON_LIBDIR}
PYTHON_CONFIGURE_ON=    --with-python=yes
PYTHON_CONFIGURE_OFF=   --with-python=no

post-install-DOCS-on:
    @${MKDIR} ${STAGEDIR}${DOCSDIR}
    ${INSTALL_DATA} ${PORTDOCS:S,^,${WRKSRC}/,} ${STAGEDIR}${DOCSDIR}

.include <bsd.port.mk>