summaryrefslogtreecommitdiff
path: root/graphics/CompuPic/Makefile
diff options
context:
space:
mode:
authorwiz <wiz>2000-04-02 02:56:26 +0000
committerwiz <wiz>2000-04-02 02:56:26 +0000
commitf76186a4c7711624bb931b2332341ad7620499b5 (patch)
tree12cbc86588c126205293371b71a8b5b4ba8ccb5f /graphics/CompuPic/Makefile
parent284df61f7d3eedb4568238916e7de667a8ad05b9 (diff)
downloadpkgsrc-f76186a4c7711624bb931b2332341ad7620499b5.tar.gz
Update to compupic-5.0.1033-i386-netbsd; now using native NetBSD binaries
(previous version was using Linux binary), and actually working on 1.4.2. Internal changes undocumented, sorry.
Diffstat (limited to 'graphics/CompuPic/Makefile')
-rw-r--r--graphics/CompuPic/Makefile26
1 files changed, 14 insertions, 12 deletions
diff --git a/graphics/CompuPic/Makefile b/graphics/CompuPic/Makefile
index e40c57754b4..56fca60bfa9 100644
--- a/graphics/CompuPic/Makefile
+++ b/graphics/CompuPic/Makefile
@@ -1,31 +1,33 @@
-# $NetBSD: Makefile,v 1.5 2000/01/13 11:15:10 soren Exp $
+# $NetBSD: Makefile,v 1.6 2000/04/02 02:56:26 wiz Exp $
#
-DISTNAME= compupic-current-i386-Linux
-PKGNAME= CompuPic-4.6.1005
+DISTNAME= compupic-5.0.1033-i386-netbsd
+PKGNAME= CompuPic-5.0.1033
CATEGORIES= graphics
-MASTER_SITES= http://linux.compupic.com/files/
+MASTER_SITES= http://unix.compupic.com/files/
MAINTAINER= hubertf@netbsd.org
-HOMEPAGE= http://linux.compupic.com/
+HOMEPAGE= http://unix.compupic.com/
-DEPENDS+= suse_linux>=6.1:../../emulators/suse_linux
-
-ONLY_FOR_PLATFORM= NetBSD-*-i386 Linux-*-i386
+ONLY_FOR_PLATFORM= NetBSD-*-i386
LICENSE= fee-based-commercial-use
-WRKSRC= ${WRKDIR}/compupic-4.6.1005-i386-Linux
NO_CONFIGURE= YES
NO_BUILD= YES
-RESTRICTED= "Commercial product, purcase at http://www.photodex.com/ordering/order.html"
+RESTRICTED= "Commercial product, purchase at http://www.photodex.com/ordering/order.html"
NO_PACKAGE= ${RESTRICTED}
NO_CDROM= ${RESTRICTED}
+EXTRACT_CMD= # empty
do-install:
${INSTALL_DATA_DIR} ${PREFIX}/libexec/compupic
- ${GTAR} plxCf ${PREFIX}/libexec/compupic ${WRKSRC}/compupic.tar
+ ${GTAR} plzxCf ${PREFIX}/libexec/ ${_DISTDIR}/${DISTFILES}
${MV} ${PREFIX}/libexec/compupic/compupic.1 ${PREFIX}/man/man1
- ${LN} -sf ../libexec/compupic/compupic ${PREFIX}/bin/compupic
+# simulate symlink -- relative symlink (to which it `ln -s' automatically
+# gets fixed) -- doesn't work, since compupic doesn't find its support files
+ ${ECHO} "#!/bin/sh" > ${PREFIX}/bin/compupic
+ ${ECHO} "${PREFIX}/libexec/compupic/compupic" >> ${PREFIX}/bin/compupic
+ ${CHMOD} 755 ${PREFIX}/bin/compupic
.include "../../mk/bsd.pkg.mk"