aboutsummaryrefslogtreecommitdiffstats
path: root/sysutils/libieee1284/Makefile
blob: 15ef568bd0f7030d99b17f05ace29c026e1705e4 (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
38
39
40
# Created by: Michael Johnson <ahze@FreeBSD.org>
# $FreeBSD$

PORTNAME=   libieee1284
PORTVERSION=    0.2.10
PORTREVISION=   1
CATEGORIES= sysutils
MASTER_SITES=   http://cyberelk.net/tim/data/libieee1284/stable/

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

LICENSE=    GPLv2

ONLY_FOR_ARCHS= i386

USES=       libtool tar:bzip2
GNU_CONFIGURE=  yes
USE_LDCONFIG=   yes

PORTDOCS=   README README.FreeBSD

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:
    @${MKDIR} ${STAGEDIR}${DOCSDIR}
    ${INSTALL_DATA} ${PORTDOCS:S,^,${WRKSRC}/,} ${STAGEDIR}${DOCSDIR}

.include <bsd.port.mk>