supports them. This is determined by running ``configure --help'' in do-configure target and set the shell variable _LATE_CONFIGURE_ARGS which is then passed to CONFIGURE_ARGS. - Remove --mandir and --infodir in ports' Makefile where applicable Few ports use REINPLACE_CMD to achieve the same effect, remove them too. - Correct some manual pages location from PREFIX/man to MANPREFIX/man - Define INFO_PATH where necessary - Document that .info files are installed in a subdirectory relative to PREFIX/INFO_PATH and slightly change add-plist-info to use INFO_PATH and subdirectory detection. PR: ports/111470 Approved by: portmgr Discussed with: stas (Mk/*), gerald (info related stuffs) Tested by: pointyhat exp run
36 lines
770 B
Makefile
36 lines
770 B
Makefile
# New ports collection makefile for: starplot
|
|
# Date created: Mon Aug 20 09:08:07 EDT 2001
|
|
# Whom: Patrick Li <pat@databits.net>
|
|
#
|
|
# $FreeBSD$
|
|
#
|
|
|
|
PORTNAME= starplot
|
|
PORTVERSION= 0.95.4
|
|
PORTREVISION= 1
|
|
CATEGORIES= astro
|
|
MASTER_SITES= http://starplot.org/downloads/
|
|
|
|
MAINTAINER= ports@FreeBSD.org
|
|
COMMENT= 3-dimensional viewer for star charts
|
|
|
|
USE_GNOME= gnometarget gtk20
|
|
USE_ICONV= yes
|
|
USE_GMAKE= yes
|
|
GNU_CONFIGURE= yes
|
|
CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \
|
|
LDFLAGS="-L${LOCALBASE}/lib"
|
|
MAKE_ENV= DOCSDIR="${DOCSDIR}" EXAMPLESDIR="${EXAMPLESDIR}"
|
|
|
|
MAN1= starconvert.1 starpkg.1 starplot.1
|
|
|
|
.if defined(WITHOUT_NLS)
|
|
CONFIGURE_ARGS+= --disable-nls
|
|
PLIST_SUB+= NLS="@comment "
|
|
.else
|
|
USE_GETTEXT= yes
|
|
PLIST_SUB+= NLS=""
|
|
.endif
|
|
|
|
.include <bsd.port.mk>
|