1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-26 05:02:18 +00:00

Add the DISPLAY_PROGRAM_PREFIX knob to install display(1) under

a different name, avoiding conflicts with ImageMagick and other ports.
Bump PORTREVISION.
This commit is contained in:
Peter Pentchev 2005-10-20 13:10:28 +00:00
parent 6a1b0bc65a
commit fb17826532
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=145937

View File

@ -7,7 +7,7 @@
PORTNAME= display
PORTVERSION= 1.2
PORTREVISION= 1
PORTREVISION= 2
CATEGORIES= misc
MASTER_SITES= http://www.ipsmart.com/src/
EXTRACT_SUFX= .tgz
@ -15,15 +15,26 @@ EXTRACT_SUFX= .tgz
MAINTAINER= ports@FreeBSD.org
COMMENT= Runs command repeatedly; shows output
CONFLICTS= ImageMagick-[0-9]* goblin-*
GNU_CONFIGURE= yes
MAN1= display.1
PLIST_FILES= bin/display
DISPLAY_PROGRAM_PREFIX?=
.if empty(DISPLAY_PROGRAM_PREFIX)
pre-everything::
@${ECHO_MSG} "NOTE: You may set DISPLAY_PROGRAM_PREFIX to change the name of the 'display'"
@${ECHO_MSG} "utility so that it does not conflict with similarly named files from"
@${ECHO_MSG} "the ImageMagick and goblin ports."
CONFLICTS= ImageMagick-[0-9]* goblin-*
.endif
CONFIGURE_ARGS+= --program-prefix=${DISPLAY_PROGRAM_PREFIX}
MAN1= ${DISPLAY_PROGRAM_PREFIX}display.1
PLIST_FILES= bin/${DISPLAY_PROGRAM_PREFIX}display
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/display ${PREFIX}/bin/display
${INSTALL_MAN} ${WRKSRC}/display.man ${MANPREFIX}/man/man1/display.1
${INSTALL_PROGRAM} ${WRKSRC}/display ${PREFIX}/bin/${DISPLAY_PROGRAM_PREFIX}display
${INSTALL_MAN} ${WRKSRC}/display.man ${MANPREFIX}/man/man1/${DISPLAY_PROGRAM_PREFIX}display.1
.include <bsd.port.mk>