diff options
author | bapt <bapt@FreeBSD.org> | 2014-03-07 02:18:15 +0800 |
---|---|---|
committer | bapt <bapt@FreeBSD.org> | 2014-03-07 02:18:15 +0800 |
commit | dd67d58527af4774f83636a44402a017344991d0 (patch) | |
tree | e69ea4616e39064fd976cf8315068b70a283b04c /converters | |
parent | d8808ef526bfb0b2061252a7f144935622949b36 (diff) | |
download | freebsd-ports-gnome-dd67d58527af4774f83636a44402a017344991d0.tar.gz freebsd-ports-gnome-dd67d58527af4774f83636a44402a017344991d0.tar.zst freebsd-ports-gnome-dd67d58527af4774f83636a44402a017344991d0.zip |
Support stage
Diffstat (limited to 'converters')
-rw-r--r-- | converters/trans/Makefile | 28 | ||||
-rw-r--r-- | converters/trans/pkg-plist | 6 |
2 files changed, 20 insertions, 14 deletions
diff --git a/converters/trans/Makefile b/converters/trans/Makefile index 256bb07eade2..acc0962a9ead 100644 --- a/converters/trans/Makefile +++ b/converters/trans/Makefile @@ -11,10 +11,9 @@ MAINTAINER= ports@FreeBSD.org COMMENT= Character encoding converter generator LIBDIR= ${PREFIX}/lib/trans -MAN1= transhtm.1 transiso.1 transce8.1 transtab.1 checkiso.1 \ +MANS= transhtm.1 transiso.1 transce8.1 transtab.1 checkiso.1 \ checkuni.1 -NO_STAGE= yes post-patch: # Fix the build against arbitrary make(1) implementation @${REINPLACE_CMD} -e 's/cd src ; make/$$(MAKE) -C src/' \ @@ -24,24 +23,25 @@ post-patch: ${WRKSRC}/src/Makefile do-install: - cd ${WRKSRC}/src && ${INSTALL_PROGRAM} ${MAN1:R} ${PREFIX}/bin -.for m in ${MAN1} - ${INSTALL_MAN} ${WRKSRC}/src/${m:R}.man ${MANPREFIX}/man/man1/${m} + cd ${WRKSRC}/src && ${INSTALL_PROGRAM} ${MANS:R} ${STAGEDIR}${PREFIX}/bin +.for m in ${MANS} + ${INSTALL_MAN} ${WRKSRC}/src/${m:R}.man ${STAGEDIR}${MANPREFIX}/man/man1/${m} .endfor - @${MKDIR} ${LIBDIR}/cedf ${LIBDIR}/xlt ${LIBDIR}/doc ${LIBDIR}/bin \ - ${LIBDIR}/src + @${MKDIR} ${STAGEDIR}${LIBDIR}/cedf ${STAGEDIR}${LIBDIR}/xlt \ + ${STAGEDIR}${LIBDIR}/doc ${STAGEDIR}${LIBDIR}/bin \ + ${STAGEDIR}${LIBDIR}/src cd ${WRKSRC}/src && \ ${INSTALL_SCRIPT} checkall chkuni mkhtml mklist mkxlt \ - ${LIBDIR}/src + ${STAGEDIR}${LIBDIR}/src cd ${WRKSRC} && \ - ${INSTALL_DATA} README encoding.lis ${LIBDIR} + ${INSTALL_DATA} README encoding.lis ${STAGEDIR}${LIBDIR} cd ${WRKSRC}/src && \ - ${INSTALL_DATA} datatype.h ${LIBDIR}/src + ${INSTALL_DATA} datatype.h ${STAGEDIR}${LIBDIR}/src cd ${WRKSRC}/bin && \ ${INSTALL_DATA} one trans.[ch] trans.man utimbuf.h utf.[ch] \ - ${LIBDIR}/bin - ${INSTALL_DATA} ${WRKSRC}/cedf/* ${LIBDIR}/cedf - ${INSTALL_DATA} ${WRKSRC}/doc/* ${LIBDIR}/doc - ${INSTALL_DATA} ${WRKSRC}/xlt/* ${LIBDIR}/xlt + ${STAGEDIR}${LIBDIR}/bin + ${INSTALL_DATA} ${WRKSRC}/cedf/* ${STAGEDIR}${LIBDIR}/cedf + ${INSTALL_DATA} ${WRKSRC}/doc/* ${STAGEDIR}${LIBDIR}/doc + ${INSTALL_DATA} ${WRKSRC}/xlt/* ${STAGEDIR}${LIBDIR}/xlt .include <bsd.port.mk> diff --git a/converters/trans/pkg-plist b/converters/trans/pkg-plist index 2f497b4fb376..e1652f89d5b3 100644 --- a/converters/trans/pkg-plist +++ b/converters/trans/pkg-plist @@ -200,6 +200,12 @@ lib/trans/xlt/tex-dcr.in lib/trans/xlt/tex-dcr.out lib/trans/xlt/wingding lib/trans/xlt/wingreek +man/man1/checkiso.1.gz +man/man1/checkuni.1.gz +man/man1/transce8.1.gz +man/man1/transhtm.1.gz +man/man1/transiso.1.gz +man/man1/transtab.1.gz @dirrm lib/trans/bin @dirrm lib/trans/cedf @dirrm lib/trans/doc |