blob: fa5dbab6f3f2613696d29bcbcd1c1a6b7df796ba (
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: Yonatan <onatan@gmail.com>
# $FreeBSD$
PORTNAME= pft
PORTVERSION= 1.3
PORTREVISION= 2
CATEGORIES= security
MASTER_SITES= http://www.phenoelit.org/hp/
DISTNAME= libPJL-${PORTVERSION}-src
MAINTAINER= ports@FreeBSD.org
COMMENT= Printer Job Language library and tool
LICENSE= NONE
NO_WRKSUBDIR= yes
USES= gmake tar:tgz
PLIST_FILES= bin/pft lib/libPJL.a
post-patch:
.for i in Makefile pft/Makefile
@${REINPLACE_CMD} -e \
'/^CPP/s|=g++|=$${CXX} $${CXXFLAGS}| ; \
/^CPPFLAGS=/s| -g | |' ${WRKSRC}/${i}
.endfor
do-build:
@(cd ${WRKSRC} && ${DO_MAKE_BUILD} libPJL.a)
@(cd ${WRKSRC}/pft && ${DO_MAKE_BUILD} pft)
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/pft/pft ${STAGEDIR}${PREFIX}/bin
${INSTALL_DATA} ${WRKSRC}/libPJL.a ${STAGEDIR}${PREFIX}/lib
.include <bsd.port.mk>
|