aboutsummaryrefslogtreecommitdiffstats
path: root/converters
diff options
context:
space:
mode:
authorwen <wen@FreeBSD.org>2011-10-17 10:45:09 +0800
committerwen <wen@FreeBSD.org>2011-10-17 10:45:09 +0800
commit2ef618871a2e4a9e74a400df5e00e54efff57a23 (patch)
treefedfe1c13279843e3f810975cc67247c8de095d5 /converters
parent2c2287b86db193c3e3b674966eb868470223e032 (diff)
downloadfreebsd-ports-gnome-2ef618871a2e4a9e74a400df5e00e54efff57a23.tar.gz
freebsd-ports-gnome-2ef618871a2e4a9e74a400df5e00e54efff57a23.tar.zst
freebsd-ports-gnome-2ef618871a2e4a9e74a400df5e00e54efff57a23.zip
- Add LICENSE
- Add MAKE_JOBS_SAFE - Support PORTDOCS/PLIST_FILES PR: ports/161617 Submitted by: KATO Tsuguru <tkato432@yahoo.com>
Diffstat (limited to 'converters')
-rw-r--r--converters/uulib/Makefile35
-rw-r--r--converters/uulib/pkg-plist17
2 files changed, 21 insertions, 31 deletions
diff --git a/converters/uulib/Makefile b/converters/uulib/Makefile
index 4e1035b8f465..fa0134695aa1 100644
--- a/converters/uulib/Makefile
+++ b/converters/uulib/Makefile
@@ -7,7 +7,7 @@
PORTNAME= uulib
PORTVERSION= 0.5.20
-PORTREVISION= 1
+PORTREVISION= 2
CATEGORIES= converters
MASTER_SITES= http://www.fpx.de/fp/Software/UUDeview/download/
DISTNAME= uudeview-${PORTVERSION}
@@ -15,35 +15,42 @@ DISTNAME= uudeview-${PORTVERSION}
MAINTAINER= ports@FreeBSD.org
COMMENT= A library for uu/xx/Base64/BinHex/yEnc de-/encoding
+LICENSE= GPLv2 # (or later)
+LICENSE_FILE= ${WRKSRC}/COPYING
+
GNU_CONFIGURE= yes
+ALL_TARGET= libuu.a libuu.so.${SHLIB_VER}
USE_LDCONFIG= yes
+MAKE_JOBS_SAFE= yes
MAN3= uulib.3
+PORTDOCS= *
+PLIST_FILES= include/uudeview.h lib/libuu.a lib/libuu.so \
+ lib/libuu.so.${SHLIB_VER}
-ALL_TARGET= libuu.a libuu.so.${VERSION}
-VERSION= 3
+SHLIB_VER= 3
-DOCFILES= COPYING HISTORY doc/Makefile doc/README doc/binhex.fig \
+DOCFILES= HISTORY doc/Makefile doc/README doc/binhex.fig \
doc/library.ltx doc/structure.fig doc/td-v1.c doc/td-v2.c \
doc/td-v3.c doc/test.txt
+post-patch:
+ @${SED} -e 's,FUNKYTOKENHERE,${PREFIX}/,' \
+ < ${FILESDIR}/uulib.3 > ${WRKDIR}/uulib.3
+
do-install:
- ${INSTALL_DATA} ${WRKSRC}/uulib/libuu.so.${VERSION} ${PREFIX}/lib
- ${LN} -sf libuu.so.${VERSION} ${PREFIX}/lib/libuu.so
+ ${INSTALL_DATA} ${WRKSRC}/uulib/libuu.so.${SHLIB_VER} ${PREFIX}/lib
+ ${LN} -sf libuu.so.${SHLIB_VER} ${PREFIX}/lib/libuu.so
${INSTALL_DATA} ${WRKSRC}/uulib/libuu.a ${PREFIX}/lib
@/usr/bin/ranlib ${PREFIX}/lib/libuu.a
${INSTALL_DATA} ${WRKSRC}/uulib/uudeview.h ${PREFIX}/include
- ${INSTALL_MAN} ${FILESDIR}/uulib.3 ${PREFIX}/man/man3
- ${REINPLACE_CMD} -e 's,FUNKYTOKENHERE,${PREFIX}/,' \
- ${PREFIX}/man/man3/uulib.3
- @# If we don't remove the .bak file, then man(1) gets confused
- @${RM} -f ${PREFIX}/man/man3/uulib.3.bak
+ ${INSTALL_MAN} ${WRKDIR}/uulib.3 ${MANPREFIX}/man/man3
.if !defined(NOPORTDOCS)
@${ECHO_MSG} "===> Installing documentation for ${PKGNAME}"
- @${MKDIR} ${PREFIX}/share/doc/uulib
- @${INSTALL_DATA} ${FILESDIR}/porting.notes ${DOCSDIR}
+ @${MKDIR} ${DOCSDIR}
+ ${INSTALL_DATA} ${FILESDIR}/porting.notes ${DOCSDIR}
.for docfile in ${DOCFILES}
- @${INSTALL_DATA} ${WRKSRC}/${docfile} ${DOCSDIR}
+ ${INSTALL_DATA} ${WRKSRC}/${docfile} ${DOCSDIR}
.endfor
.endif
diff --git a/converters/uulib/pkg-plist b/converters/uulib/pkg-plist
deleted file mode 100644
index 67e1c144e1a0..000000000000
--- a/converters/uulib/pkg-plist
+++ /dev/null
@@ -1,17 +0,0 @@
-lib/libuu.a
-lib/libuu.so
-lib/libuu.so.3
-include/uudeview.h
-%%PORTDOCS%%%%DOCSDIR%%/Makefile
-%%PORTDOCS%%%%DOCSDIR%%/README
-%%PORTDOCS%%%%DOCSDIR%%/binhex.fig
-%%PORTDOCS%%%%DOCSDIR%%/library.ltx
-%%PORTDOCS%%%%DOCSDIR%%/structure.fig
-%%PORTDOCS%%%%DOCSDIR%%/td-v1.c
-%%PORTDOCS%%%%DOCSDIR%%/td-v2.c
-%%PORTDOCS%%%%DOCSDIR%%/td-v3.c
-%%PORTDOCS%%%%DOCSDIR%%/test.txt
-%%PORTDOCS%%%%DOCSDIR%%/porting.notes
-%%PORTDOCS%%%%DOCSDIR%%/HISTORY
-%%PORTDOCS%%%%DOCSDIR%%/COPYING
-%%PORTDOCS%%@dirrm %%DOCSDIR%%