aboutsummaryrefslogtreecommitdiffstats
path: root/converters/ascii2binary/Makefile
blob: c0613628b2dfee5aa370466a75c31c10a1bc8aca (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
# Created by: thierry@pompo.net
# $FreeBSD$

PORTNAME=   ascii2binary
PORTVERSION=    2.14
CATEGORIES= converters
MASTER_SITES=   http://billposer.org/Software/Downloads/

MAINTAINER= thierry@FreeBSD.org
COMMENT=    Convert between textual representations of numbers and binary

LICENSE=    GPLv3

USES=       gettext tar:bzip2

GNU_CONFIGURE=  yes
CPPFLAGS+=  -I${LOCALBASE}/include
LDFLAGS+=   -L${LOCALBASE}/lib
WRKSRC=     ${WRKDIR}/${PORTNAME}-${PORTVERSION}

PLIST_FILES=    bin/ascii2binary bin/binary2ascii \
        man/man1/ascii2binary.1.gz \
        man/man1/binary2ascii.1.gz

pre-configure:
    ${REINPLACE_CMD} -e "s|/usr/local|${LOCALBASE}|" ${WRKSRC}/Makefile.in

.include <bsd.port.mk>