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>
file that should not be committed. Its documentation is poor (r12873) but users are relying on it. - Remove CONFLICTS as for every port it just conflicted with itself. With hat: portmgr * news/husky-(fidoconf|htick|hpt) : builds INFO pages everywhere againmarino2015-04-191-12/+5 | | | | | | Jan Beich fixed the info pages (thanks Jan!) so this enables their building for htick and fidoconf of FreeBSD 11 and DragonFly. While here, commit USES+=makeinfo to -hpt that went uncommitted accidently yesterday. * news/husky-fidoconf: Test feature rather than OPSYS/OSVERSIONmarino2015-04-181-4/+2 | | | | | | Testing for OPSYS/OSVERSION requires <pre> and <post> inclusions and isn't necessary. All we need is the same logic that USES=makeinfo uses. This simplifies previous commit. * news/husky(-fidoconf): Unbreak F11 and DragonFly (old texi files)marino2015-04-182-20/+33 | | | | | | | | | | | | | | | | | | | | | | The reason all husky ports were bumped is because the -devel package suffix was not removed as intended. It's been removed now so all husky packages have different names. The fidoconf package uses texi files to build an info page and an html page. It appears there is no man page equivalent. I couldn't find a patch to fix the old-format texi files that the latest texinfo programs can read, so I blocked them from building on FreeBSD 11 and DragonFly where the port was broken. While here, I removed %%PORTDOCS%% from man pages. There were installed unconditionally (as they should be), so setting DOCS option to off would have broken the port as well. Also use the INFO definition as it should be rather than hardcoding the pkg-plist. The maintainer will be notified so he can prepare a patch for texi or update the port. Approved by: blanket (unbreaks F11) * - Drop @dirrm* from pkg-plistsamdmi32015-02-021-2/+0 | | | | Approved by: portmgr blanket * Remove '-devel' prefix from husky* portsmarino2014-08-203-0/+89 | | | | | | Today the older unstaged husky-* ports were removed as the first part of a transition move the development versions into their place. This commit completes the relocation of husky-*-devel ports. * news/husky*: Remove Husky ports to pave way for next versionmarino2014-08-207-136/+0 | | | | | | | | In a two-step process, the Husky ports that are due to be removed on September 1 are being removed now. The next step will be to rename the husky-*-devel ports to plain husky-* Approved by: former maintainer (fjoe@) * Rename all patches that contain '::' as a path separator, and useadamw2014-07-302-0/+0 | | | | '__' instead. * Reset maintainership for ports not staged with no pending PRbapt2014-07-251-1/+1 | | | | With hat: portmgr * Modernize LIB_DEPENDSbapt2014-07-151-1/+1 | | | | With hat: portmgr * Allow to build with texinfo from portsantoine2014-06-261-0/+1 | | | | With hat: portmgr * Add NO_STAGE all over the place in preparation for the staging support (cat: ↵bapt2013-09-211-0/+1 | | | | news) * Do not define gmake usage after pre.mkbapt2013-07-121-8/+3 | | | | | | | While here: - trim headers - convert to uses=gmake - remove now useless pre.mk/post.mk dancing