aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authoramdmi3 <amdmi3@FreeBSD.org>2017-11-25 17:00:19 +0800
committerKoop Mast <kwm@rainbow-runner.nl>2018-02-04 06:00:40 +0800
commit875e1c657d511ea5e59b4a767af66854fbacd96d (patch)
tree44acb73c2f7bf31ffbe8924c121048d1bf6a9acf
parent17dc74d98439c098067f4abdfba6657f1c193183 (diff)
downloadfreebsd-ports-gnome-875e1c657d511ea5e59b4a767af66854fbacd96d.tar.gz
freebsd-ports-gnome-875e1c657d511ea5e59b4a767af66854fbacd96d.tar.zst
freebsd-ports-gnome-875e1c657d511ea5e59b4a767af66854fbacd96d.zip
- Add LICENSE
- Simplify build and installation - Use proper command for static lib installation
-rw-r--r--security/pft/Makefile16
1 files changed, 8 insertions, 8 deletions
diff --git a/security/pft/Makefile b/security/pft/Makefile
index ef4fd46df1ad..fa5dbab6f3f2 100644
--- a/security/pft/Makefile
+++ b/security/pft/Makefile
@@ -3,7 +3,7 @@
PORTNAME= pft
PORTVERSION= 1.3
-PORTREVISION= 1
+PORTREVISION= 2
CATEGORIES= security
MASTER_SITES= http://www.phenoelit.org/hp/
DISTNAME= libPJL-${PORTVERSION}-src
@@ -11,10 +11,11 @@ DISTNAME= libPJL-${PORTVERSION}-src
MAINTAINER= ports@FreeBSD.org
COMMENT= Printer Job Language library and tool
+LICENSE= NONE
+
NO_WRKSUBDIR= yes
USES= gmake tar:tgz
-ALL_TARGET= libPJL.a
PLIST_FILES= bin/pft lib/libPJL.a
@@ -25,13 +26,12 @@ post-patch:
/^CPPFLAGS=/s| -g | |' ${WRKSRC}/${i}
.endfor
-post-build:
- @(cd ${WRKSRC}/pft; ${SETENV} ${MAKE_ENV} ${MAKE_CMD} pft)
+do-build:
+ @(cd ${WRKSRC} && ${DO_MAKE_BUILD} libPJL.a)
+ @(cd ${WRKSRC}/pft && ${DO_MAKE_BUILD} pft)
do-install:
- (cd ${WRKSRC}/pft && ${INSTALL_PROGRAM} pft \
- ${STAGEDIR}${PREFIX}/bin)
- (cd ${WRKSRC} && ${INSTALL_PROGRAM} libPJL.a \
- ${STAGEDIR}${PREFIX}/lib)
+ ${INSTALL_PROGRAM} ${WRKSRC}/pft/pft ${STAGEDIR}${PREFIX}/bin
+ ${INSTALL_DATA} ${WRKSRC}/libPJL.a ${STAGEDIR}${PREFIX}/lib
.include <bsd.port.mk>