On Sat, Oct 29, 2005 at 11:58:57AM -0400, Ian Darwin wrote:
> They changed the dirname in the tar archive, otherwise just a version change.
>
> OK?
how about arranging the makefile like this:
Index: Makefile
===================================================================
RCS file: /cvs/ports/print/openclipart/Makefile,v
retrieving revision 1.1.1.1
diff -u -r1.1.1.1 Makefile
--- Makefile 4 Sep 2005 23:05:50 -0000 1.1.1.1
+++ Makefile 30 Oct 2005 07:46:54 -0000
@@ -1,25 +1,27 @@
# $OpenBSD: Makefile,v 1.1.1.1 2005/09/04 23:05:50 espie Exp $
-V=0.16
+V=0.18
COMMENT= 'desktop publishing clip-art'
CATEGORIES= print graphics
-DISTNAME= openclipart-$V
+DISTNAME= openclipart-$V-full
+PKGNAME= ${DISTNAME:S/-full//}
HOMEPAGE= http://openclipart.org/
MASTER_SITES= ${HOMEPAGE}downloads/$V/
-DISTFILES= openclipart-$V-full.tar.bz2
+EXTRACT_SUFX= .tar.bz2
# Public domain
-PERMIT_DISTFILES_FTP=Yes
-PERMIT_DISTFILES_CDROM=Yes
-PERMIT_PACKAGE_FTP=Yes
-PERMIT_PACKAGE_CDROM=Yes
+PERMIT_DISTFILES_FTP= Yes
+PERMIT_DISTFILES_CDROM= Yes
+PERMIT_PACKAGE_FTP= Yes
+PERMIT_PACKAGE_CDROM= Yes
PKG_ARCH= *
NO_BUILD= Yes
NO_REGRESS= Yes
do-install:
- cp -Rp ${WRKDIST} ${PREFIX}/share/openclipart/
+ ${INSTALL_DATA_DIR} ${PREFIX}/share/openclipart
+ cp -R ${WRKDIST} ${PREFIX}/share/openclipart/
.include <bsd.port.mk>
Disclaimer: http://www.kuleuven.be/cwis/email_disclaimer.htm