svn commit: r357218 - head/print/rlpr

Baptiste Daroussin bapt at FreeBSD.org
Tue Jun 10 01:47:29 UTC 2014


On Mon, Jun 09, 2014 at 11:00:54PM +0000, Mikhail Teterin wrote:
> Author: mi
> Date: Mon Jun  9 23:00:54 2014
> New Revision: 357218
> URL: http://svnweb.freebsd.org/changeset/ports/357218
> QAT: https://qat.redports.org/buildarchive/r357218/
> 
> Log:
>   Support staging. (Still don't understand, why the MANs-knobs had to
>   go...)
> 
> Modified:
>   head/print/rlpr/Makefile
> 
> Modified: head/print/rlpr/Makefile
> ==============================================================================
> --- head/print/rlpr/Makefile	Mon Jun  9 22:59:54 2014	(r357217)
> +++ head/print/rlpr/Makefile	Mon Jun  9 23:00:54 2014	(r357218)
> @@ -17,7 +17,6 @@ LICENSE=	GPLv2
>  GNU_CONFIGURE=	yes
>  # rlpr supports gettext/libintl, but does not currently come with ANY
>  # translation .po files. When this changes, it would make sense to
> -NO_STAGE=	yes
>  # enable the use of gettext in this port:
>  #USES=	gettext
>  #CONFIGURE_ENV=	CPPFLAGS="-I${PREFIX}/include" LDFLAGS="-L${PREFIX}/lib -lintl"
> @@ -32,11 +31,12 @@ post-patch:
>  
>  post-install:
>  	# Making the installed binaries suid,\
> -		      for the remote lpds to talk to them"
> -	${CHMOD} 4555 ${PREFIX}/bin/rlpq ${PREFIX}/bin/rlpr ${PREFIX}/bin/rlprm
> +		      for the remote lpds to talk to them
> +	${CHMOD} 4555 ${STAGEDIR}${PREFIX}/bin/rlpq	\
> +		${STAGEDIR}${PREFIX}/bin/rlpr	\
> +		${STAGEDIR}${PREFIX}/bin/rlprm
>  
> -MAN1=	rlpr.1 rlpq.1 rlprm.1
> -MAN5=	rlprrc.5
> -MAN8=	rlprd.8
> +PLIST_FILES+=	man/man1/rlpq.1.gz man/man1/rlpr.1.gz man/man1/rlprm.1.gz \
> +		man/man5/rlprrc.5.gz man/man8/rlprd.8.gz
>  
>  .include <bsd.port.mk>
> 

Because it was wrong, badly handling with what needs to be compressed and not
properly handling automatic compression etc, the new system is way simple while
properly handling compression and links (sym or hard) automatically. It is also
consistent over ports. this could not have been done without killing the MAN*
macros.

Bapt
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 196 bytes
Desc: not available
URL: <http://lists.freebsd.org/pipermail/svn-ports-head/attachments/20140610/eb26573d/attachment.sig>


More information about the svn-ports-head mailing list