1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-20 04:02:27 +00:00
freebsd-ports/security/pft/Makefile

37 lines
766 B
Makefile

# 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.de/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
MAKE_ENV= CXX="${CXX}"
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>