diff options
author | Carlo Strub <cs@FreeBSD.org> | 2014-09-01 20:01:42 +0000 |
---|---|---|
committer | Carlo Strub <cs@FreeBSD.org> | 2014-09-01 20:01:42 +0000 |
commit | 316c4dfa8b484dc4912aa7d7049e1f79f70b045c (patch) | |
tree | 0b14ab23a61e2c20777ce3df211976768307d594 /security/pft | |
parent | d1aaed9fbfbade0acb02e496fe15cf15a82b2952 (diff) | |
download | ports-316c4dfa8b484dc4912aa7d7049e1f79f70b045c.tar.gz ports-316c4dfa8b484dc4912aa7d7049e1f79f70b045c.zip |
Notes
Diffstat (limited to 'security/pft')
-rw-r--r-- | security/pft/Makefile | 22 | ||||
-rw-r--r-- | security/pft/pkg-descr | 2 |
2 files changed, 15 insertions, 9 deletions
diff --git a/security/pft/Makefile b/security/pft/Makefile index 9420aace2b57..ef4fd46df1ad 100644 --- a/security/pft/Makefile +++ b/security/pft/Makefile @@ -3,29 +3,35 @@ PORTNAME= pft PORTVERSION= 1.3 +PORTREVISION= 1 CATEGORIES= security -MASTER_SITES= http://www.phenoelit-us.org/hp/ +MASTER_SITES= http://www.phenoelit.org/hp/ DISTNAME= libPJL-${PORTVERSION}-src -MAINTAINER= ports@FreeBSD.org +MAINTAINER= ports@FreeBSD.org COMMENT= Printer Job Language library and tool NO_WRKSUBDIR= yes -ALL_TARGET= libPJL.a + USES= gmake tar:tgz +ALL_TARGET= libPJL.a PLIST_FILES= bin/pft lib/libPJL.a -NO_STAGE= yes post-patch: - @${REINPLACE_CMD} -e 's|g++|${CXX} ${CXXFLAGS}|' \ - ${WRKSRC}/pft/Makefile +.for i in Makefile pft/Makefile + @${REINPLACE_CMD} -e \ + '/^CPP/s|=g++|=$${CXX} $${CXXFLAGS}| ; \ + /^CPPFLAGS=/s| -g | |' ${WRKSRC}/${i} +.endfor post-build: @(cd ${WRKSRC}/pft; ${SETENV} ${MAKE_ENV} ${MAKE_CMD} pft) do-install: - ${INSTALL_PROGRAM} ${WRKSRC}/pft/pft ${PREFIX}/bin - ${INSTALL_DATA} ${WRKSRC}/libPJL.a ${PREFIX}/lib + (cd ${WRKSRC}/pft && ${INSTALL_PROGRAM} pft \ + ${STAGEDIR}${PREFIX}/bin) + (cd ${WRKSRC} && ${INSTALL_PROGRAM} libPJL.a \ + ${STAGEDIR}${PREFIX}/lib) .include <bsd.port.mk> diff --git a/security/pft/pkg-descr b/security/pft/pkg-descr index 8e79cdfded6f..95da79745223 100644 --- a/security/pft/pkg-descr +++ b/security/pft/pkg-descr @@ -2,4 +2,4 @@ libPJL- Printer Job Language library A library and a command-line tool to use PJL- HP Printer Job Language Author: FX <fx@phenoelit.de> -WWW: http://www.phenoelit-us.org/hp/ +WWW: http://www.phenoelit.org/hp/ |