2004-08-09 08:18:49 +00:00
|
|
|
# Ports collection makefile for: pft
|
|
|
|
# Date created: 21 July 2004
|
2004-11-14 22:26:11 +00:00
|
|
|
# Whom: Yonatan <onatan@gmail.com>
|
2004-08-09 08:18:49 +00:00
|
|
|
#
|
|
|
|
# $FreeBSD$
|
|
|
|
#
|
|
|
|
|
|
|
|
PORTNAME= pft
|
2005-05-22 17:35:42 +00:00
|
|
|
PORTVERSION= 1.3
|
2004-08-09 08:18:49 +00:00
|
|
|
CATEGORIES= security
|
|
|
|
MASTER_SITES= http://www.phenoelit.de/hp/
|
|
|
|
DISTNAME= libPJL-${PORTVERSION}-src
|
|
|
|
EXTRACT_SUFX= .tgz
|
|
|
|
|
2004-11-14 22:26:11 +00:00
|
|
|
MAINTAINER= onatan@gmail.com
|
2004-08-09 08:18:49 +00:00
|
|
|
COMMENT= Printer Job Language library and tool
|
|
|
|
|
|
|
|
NO_WRKSUBDIR= yes
|
|
|
|
ALL_TARGET= libPJL.a
|
|
|
|
USE_GMAKE= yes
|
2005-05-22 17:35:42 +00:00
|
|
|
MAKE_ENV= CXX="${CXX}"
|
|
|
|
|
|
|
|
PLIST_FILES= bin/pft lib/libPJL.a
|
|
|
|
|
|
|
|
post-patch:
|
|
|
|
@${REINPLACE_CMD} -e 's|g++|${CXX} ${CXXFLAGS}|' \
|
|
|
|
${WRKSRC}/pft/Makefile
|
2004-08-09 08:18:49 +00:00
|
|
|
|
|
|
|
post-build:
|
2005-05-22 17:35:42 +00:00
|
|
|
@(cd ${WRKSRC}/pft; ${SETENV} ${MAKE_ENV} ${GMAKE} pft)
|
2004-08-09 08:18:49 +00:00
|
|
|
|
|
|
|
do-install:
|
2005-05-22 17:35:42 +00:00
|
|
|
${INSTALL_PROGRAM} ${WRKSRC}/pft/pft ${PREFIX}/bin
|
|
|
|
${INSTALL_DATA} ${WRKSRC}/libPJL.a ${PREFIX}/lib
|
2004-08-09 08:18:49 +00:00
|
|
|
|
|
|
|
.include <bsd.port.mk>
|