aboutsummaryrefslogtreecommitdiffstats
path: root/security/pft/Makefile
blob: 2bf0a1a4f6b121a9ab7c55d0aac484b96c5fa80c (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
# Ports collection makefile for:  pft
# Date created:           21 July 2004
# Whom:               Yonatan <onatan@gmail.com>
#
# $FreeBSD$
#

PORTNAME=   pft
PORTVERSION=    1.3
CATEGORIES= security
MASTER_SITES=   http://www.phenoelit-us.org/hp/
DISTNAME=   libPJL-${PORTVERSION}-src
EXTRACT_SUFX=   .tgz

MAINTAINER= onatan@gmail.com
COMMENT=    Printer Job Language library and tool

NO_WRKSUBDIR=   yes
ALL_TARGET= libPJL.a
USE_GMAKE=  yes

PLIST_FILES=    bin/pft lib/libPJL.a

post-patch:
    @${REINPLACE_CMD} -e 's|g++|${CXX} ${CXXFLAGS}|' \
        ${WRKSRC}/pft/Makefile

post-build:
    @(cd ${WRKSRC}/pft; ${SETENV} ${MAKE_ENV} ${GMAKE} pft)

do-install:
    ${INSTALL_PROGRAM} ${WRKSRC}/pft/pft ${PREFIX}/bin
    ${INSTALL_DATA} ${WRKSRC}/libPJL.a ${PREFIX}/lib

.include <bsd.port.mk>