Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 9 Jan 2014 14:40:14 +0000 (UTC)
From:      Baptiste Daroussin <bapt@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r339244 - head/converters/uulib
Message-ID:  <201401091440.s09EeE7Z073778@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: bapt
Date: Thu Jan  9 14:40:14 2014
New Revision: 339244
URL: http://svnweb.freebsd.org/changeset/ports/339244

Log:
  Support stage

Modified:
  head/converters/uulib/Makefile

Modified: head/converters/uulib/Makefile
==============================================================================
--- head/converters/uulib/Makefile	Thu Jan  9 14:34:22 2014	(r339243)
+++ head/converters/uulib/Makefile	Thu Jan  9 14:40:14 2014	(r339244)
@@ -9,19 +9,18 @@ MASTER_SITES=	http://www.fpx.de/fp/Softw
 DISTNAME=	uudeview-${PORTVERSION}
 
 MAINTAINER=	ports@FreeBSD.org
-COMMENT=	A library for uu/xx/Base64/BinHex/yEnc de-/encoding
+COMMENT=	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
 
-MAN3=		uulib.3
 PORTDOCS=	*
 PLIST_FILES=	include/uudeview.h lib/libuu.a lib/libuu.so \
-		lib/libuu.so.${SHLIB_VER}
+		lib/libuu.so.${SHLIB_VER} \
+		man/man3/uulib.3.gz
 
 SHLIB_VER=	3
 
@@ -29,28 +28,20 @@ DOCFILES=	HISTORY doc/Makefile doc/READM
 		doc/library.ltx doc/structure.fig doc/td-v1.c doc/td-v2.c \
 		doc/td-v3.c doc/test.txt
 
-NO_STAGE=	yes
-
-.include <bsd.port.options.mk>
-
 post-patch:
 	@${SED} -e 's,FUNKYTOKENHERE,${PREFIX}/,' \
 		< ${FILESDIR}/uulib.3 > ${WRKDIR}/uulib.3
 
 do-install:
-	${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} ${WRKDIR}/uulib.3 ${MANPREFIX}/man/man3
-.if ${PORT_OPTIONS:MDOCS}
-	@${ECHO_MSG} "===>   Installing documentation for ${PKGNAME}"
-	@${MKDIR} ${DOCSDIR}
-	${INSTALL_DATA} ${FILESDIR}/porting.notes ${DOCSDIR}
+	${INSTALL_LIB} ${WRKSRC}/uulib/libuu.so.${SHLIB_VER} ${STAGEDIR}${PREFIX}/lib
+	${LN} -sf libuu.so.${SHLIB_VER} ${STAGEDIR}${PREFIX}/lib/libuu.so
+	${INSTALL_DATA} ${WRKSRC}/uulib/libuu.a ${STAGEDIR}${PREFIX}/lib
+	${INSTALL_DATA} ${WRKSRC}/uulib/uudeview.h ${STAGEDIR}${PREFIX}/include
+	${INSTALL_MAN} ${WRKDIR}/uulib.3 ${STAGEDIR}${MAN3PREFIX}/man/man3
+	@${MKDIR} ${STAGEDIR}${DOCSDIR}
+	${INSTALL_DATA} ${FILESDIR}/porting.notes ${STAGEDIR}${DOCSDIR}
 .for docfile in ${DOCFILES}
-	${INSTALL_DATA} ${WRKSRC}/${docfile} ${DOCSDIR}
+	${INSTALL_DATA} ${WRKSRC}/${docfile} ${STAGEDIR}${DOCSDIR}
 .endfor
-.endif
 
 .include <bsd.port.mk>



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201401091440.s09EeE7Z073778>