[Midnightbsd-cvs] mports: Makefile: fake fix.

ctriv at midnightbsd.org ctriv at midnightbsd.org
Thu Mar 20 22:55:01 EDT 2008


Log Message:
-----------
fake fix.

Modified Files:
--------------
    mports/archivers/unzoo:
        Makefile (r1.5 -> r1.6)

-------------- next part --------------
Index: Makefile
===================================================================
RCS file: /home/cvs/mports/archivers/unzoo/Makefile,v
retrieving revision 1.5
retrieving revision 1.6
diff -L archivers/unzoo/Makefile -L archivers/unzoo/Makefile -u -r1.5 -r1.6
--- archivers/unzoo/Makefile
+++ archivers/unzoo/Makefile
@@ -1,21 +1,17 @@
-# New ports collection makefile for:	unzoo
-# Date created:				20 Jun 2005
-# Whom:					Emanuel Haupt <ehaupt at critical.ch>
 #
 # $MidnightBSD$
-# $FreeBSD: ports/archivers/unzoo/Makefile,v 1.7 2006/08/11 11:02:17 ehaupt Exp $
 #
 
 PORTNAME=	unzoo
-DISTVERSION=	4.4
-PORTREVISION=	1
+PORTVERSION=	4.4
+PORTREVISION=	2
 CATEGORIES=	archivers
-MASTER_SITES=	${MASTER_SITE_DEBIAN_POOL} 
-DISTNAME=     ${PORTNAME}_${PORTVERSION}.orig
+MASTER_SITES=	${MASTER_SITE_DEBIAN_POOL}
+DISTNAME=	${PORTNAME}_${PORTVERSION}.orig
 
-PATCH_SITES=  ${MASTER_SITES}
-PATCHFILES=   unzoo_4.4-4.diff.gz
-PATCH_DIST_STRIP=     -p1
+PATCH_SITES=	${MASTER_SITES}
+PATCHFILES=	unzoo_4.4-4.diff.gz
+PATCH_DIST_STRIP=	-p1
 
 MAINTAINER=	ports at MidnightBSD.org
 COMMENT=	A zoo archive extractor
@@ -23,20 +19,23 @@
 
 EXTRA_DEFINES=	-DSYS_IS_UNIX -DSYS_HAS_MKDIR
 
-PLIST_FILES=	bin/unzoo
-
 MAN1=		unzoo.1
+PLIST_FILES=	bin/unzoo
 
 .include <bsd.port.pre.mk>
 
 CFLAGS+=	-trigraphs
 
+post-extract:
+	@${MKDIR} ${WRKSRC}
+	@${MV} ${WRKDIR}/${PORTNAME}.c ${WRKSRC}
+
 do-build:
 	${CC} ${CFLAGS} ${EXTRA_DEFINES} -o ${WRKSRC}/${PORTNAME} \
 		${WRKSRC}/${PORTNAME}.c
 
 do-install:
-	${INSTALL_PROGRAM} ${WRKSRC}/${PORTNAME} ${TARGETDIR}/bin
-	${INSTALL_MAN} ${WRKSRC}/${PORTNAME}.1 ${MAN1PREFIX}/man/man1
+	${INSTALL_PROGRAM} ${WRKSRC}/${PORTNAME} ${PREFIX}/bin
+	${INSTALL_MAN} ${WRKSRC}/debian/${PORTNAME}.1 ${MAN1PREFIX}/man/man1
 
 .include <bsd.port.post.mk>


More information about the Midnightbsd-cvs mailing list