a92097c9aa
Use X prefix, suggested by maintainer. Patch config.mk to enable new prefix (was using hard-coded /usr/local). Run "strip" with -s option. PR: 22377
32 lines
617 B
Makefile
32 lines
617 B
Makefile
# New ports collection makefile for: xzgv
|
|
# Date created: 7 Oct 2000
|
|
# Whom: Norio Suzuki <nosuzuki@e-mail.ne.jp>
|
|
#
|
|
# $FreeBSD$
|
|
#
|
|
|
|
PORTNAME= xzgv
|
|
PORTVERSION= 0.5
|
|
CATEGORIES= graphics
|
|
MASTER_SITES= http://xzgv.browser.org/ \
|
|
${MASTER_SITE_SUNSITE}
|
|
MASTER_SITE_SUBDIR= apps/graphics/viewers/X
|
|
|
|
MAINTAINER= nosuzuki@e-mail.ne.jp
|
|
|
|
USE_GMAKE= yes
|
|
USE_IMLIB= yes
|
|
USE_X_PREFIX= yes
|
|
|
|
MAN1= xzgv.1
|
|
|
|
post-patch:
|
|
@${PERL} -pi -e "s:usr/local:${PREFIX}:g" ${WRKSRC}/config.mk
|
|
|
|
post-install:
|
|
${ECHO} ${PREFIX}
|
|
strip -s ${PREFIX}/bin/xzgv
|
|
install-info ${PREFIX}/info/xzgv ${PREFIX}/info/dir
|
|
|
|
.include <bsd.port.mk>
|