Upgrade to 1.6.1, the latest version from sourceforge.

Switch to using PORTDOCS and PLIST_FILES instead of pkg-plist

PR:		ports/70412
Submitted by:	KATO Tsuguru <tkato432@yahoo.com>
This commit is contained in:
Doug Barton 2004-08-22 18:45:22 +00:00
parent 9589d0c5b1
commit cd820ee6a3
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=117049
3 changed files with 8 additions and 10 deletions

View File

@ -6,7 +6,7 @@
#
PORTNAME= hpijs
PORTVERSION= 1.5
PORTVERSION= 1.6.1
CATEGORIES= print
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
MASTER_SITE_SUBDIR= hpinkjet
@ -17,12 +17,14 @@ COMMENT= Drivers and support resources for HP Inkjet Printers
USE_REINPLACE= yes
GNU_CONFIGURE= yes
CONFIGURE_TARGET=--build=${MACHINE_ARCH}-portbld-freebsd${OSREL}
CONFIGURE_ARGS= --disable-foomatic-install
CONFIGURE_ARGS= --disable-cups-install --disable-foomatic-install
PORTDOCS= gs_hpijs.png hpijs_readme.html
PLIST_FILES= bin/hpijs
post-patch:
@${REINPLACE_CMD} -e 's|CFLAGS="-O2 -Wall"|CFLAGS="\$$CFLAGS"|g ; \
s|CXXFLAGS="-O2 -Wall"|CXXFLAGS="\$$CXXFLAGS"|g ; \
s|<malloc\.h>|<stdlib.h>|g' ${WRKSRC}/configure
s|CXXFLAGS="-O2 -Wall"|CXXFLAGS="\$$CXXFLAGS"|g' ${WRKSRC}/configure
@${REINPLACE_CMD} -e 's| ijs.[cho]||g ; \
s| ijs_client.h||g ; \
s| ijs_server.[cho]||g ; \

View File

@ -1,2 +1,2 @@
MD5 (hpijs-1.5.tar.gz) = 348bbc20f42b9d7dae4b08590649098b
SIZE (hpijs-1.5.tar.gz) = 1141804
MD5 (hpijs-1.6.1.tar.gz) = 03563d737f03ff94432423ad885db763
SIZE (hpijs-1.6.1.tar.gz) = 614264

View File

@ -1,4 +0,0 @@
bin/hpijs
%%PORTDOCS%%%%DOCSDIR%%/gs_hpijs.png
%%PORTDOCS%%%%DOCSDIR%%/hpijs_readme.html
%%PORTDOCS%%@dirrm share/doc/hpijs