aboutsummaryrefslogtreecommitdiffstats
path: root/converters/ascii2binary/Makefile
blob: d3142dd9adda890214157813f379f71a40d850dc (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
# New ports collection makefile for:    ascii2binary
# Date created:     Sun 29 January 2006
# Whom:         thierry@pompo.net
#
# $FreeBSD$
#

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

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

USE_BZIP2=  yes
USE_GETTEXT=    yes

GNU_CONFIGURE=  yes
CONFIGURE_TARGET=   --build=${MACHINE_ARCH}-portbld-freebsd${OSREL}
CONFIGURE_ENV=  CPPFLAGS=-I${LOCALBASE}/include LDFLAGS=-L${LOCALBASE}/lib
WRKSRC=     ${WRKDIR}/${PORTNAME}-${PORTVERSION}

PLIST_FILES=    bin/ascii2binary bin/binary2ascii

MAN1=       ascii2binary.1 binary2ascii.1

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

.include <bsd.port.mk>