aboutsummaryrefslogtreecommitdiffstats
path: root/converters
diff options
context:
space:
mode:
authorehaupt <ehaupt@FreeBSD.org>2014-02-09 17:37:58 +0800
committerehaupt <ehaupt@FreeBSD.org>2014-02-09 17:37:58 +0800
commit3852d7d83c4ca9d7016a345fd99302d7dadf3a6b (patch)
treec0dca473b4505978e537cf90530dd7be3cbdd8e9 /converters
parenta261f6b2d049aecd2ab9b8f1e1c12223fb243648 (diff)
downloadfreebsd-ports-graphics-3852d7d83c4ca9d7016a345fd99302d7dadf3a6b.tar.gz
freebsd-ports-graphics-3852d7d83c4ca9d7016a345fd99302d7dadf3a6b.tar.zst
freebsd-ports-graphics-3852d7d83c4ca9d7016a345fd99302d7dadf3a6b.zip
Support staging
Diffstat (limited to 'converters')
-rw-r--r--converters/fondu/Makefile37
-rw-r--r--converters/fondu/pkg-plist15
2 files changed, 27 insertions, 25 deletions
diff --git a/converters/fondu/Makefile b/converters/fondu/Makefile
index 3ce89129550..6e8ac23e432 100644
--- a/converters/fondu/Makefile
+++ b/converters/fondu/Makefile
@@ -11,34 +11,21 @@ EXTRACT_SUFX= .tgz
MAINTAINER= vg@FreeBSD.org
COMMENT= A series of programs to interconvert between mac fonts
+LICENSE= BSD3CLAUSE
+
HAS_CONFIGURE= yes
-MAN1= dfont2res.1 \
- fondu.1 \
- frombin.1 \
- lumper.1 \
- showfond.1 \
- tobin.1 \
- ufond.1
-
-PLIST_FILES= bin/dfont2res \
- bin/${PORTNAME} \
- bin/frombin \
- bin/lumper \
- bin/setfondname \
- bin/showfond \
- bin/tobin \
- bin/ufond
WRKSRC= ${WRKDIR}/${PORTNAME}
-NO_STAGE= yes
-post-install:
- ${INSTALL_MAN} ${WRKSRC}/dfont2res.1 ${MANPREFIX}/man/man1/
- ${INSTALL_MAN} ${WRKSRC}/fondu.1 ${MANPREFIX}/man/man1/
- ${INSTALL_MAN} ${WRKSRC}/frombin.1 ${MANPREFIX}/man/man1/
- ${INSTALL_MAN} ${WRKSRC}/lumper.1 ${MANPREFIX}/man/man1/
- ${INSTALL_MAN} ${WRKSRC}/showfond.1 ${MANPREFIX}/man/man1/
- ${INSTALL_MAN} ${WRKSRC}/tobin.1 ${MANPREFIX}/man/man1/
- ${INSTALL_MAN} ${WRKSRC}/ufond.1 ${MANPREFIX}/man/man1/
+BINS= fondu ufond showfond dfont2res tobin frombin lumper setfondname
+MANPAGES= fondu ufond showfond dfont2res tobin frombin lumper
+
+do-install:
+.for f in ${BINS}
+ ${INSTALL_PROGRAM} ${WRKSRC}/${f} ${STAGEDIR}${PREFIX}/bin
+.endfor
+.for f in ${MANPAGES}
+ ${INSTALL_MAN} ${WRKSRC}/${f}.1 ${STAGEDIR}${MANPREFIX}/man/man1
+.endfor
.include <bsd.port.mk>
diff --git a/converters/fondu/pkg-plist b/converters/fondu/pkg-plist
new file mode 100644
index 00000000000..703bb587515
--- /dev/null
+++ b/converters/fondu/pkg-plist
@@ -0,0 +1,15 @@
+bin/dfont2res
+bin/fondu
+bin/frombin
+bin/lumper
+bin/setfondname
+bin/showfond
+bin/tobin
+bin/ufond
+man/man1/dfont2res.1.gz
+man/man1/fondu.1.gz
+man/man1/frombin.1.gz
+man/man1/lumper.1.gz
+man/man1/showfond.1.gz
+man/man1/tobin.1.gz
+man/man1/ufond.1.gz