head	1.13;
access;
symbols
	RELEASE_6_0_0:1.12
	RELEASE_5_4_0:1.12
	RELEASE_4_11_0:1.12
	RELEASE_5_3_0:1.12
	RELEASE_4_10_0:1.12
	RELEASE_5_2_1:1.10
	RELEASE_5_2_0:1.10
	RELEASE_4_9_0:1.10
	RELEASE_5_1_0:1.9
	RELEASE_4_8_0:1.8
	RELEASE_5_0_0:1.7
	RELEASE_4_7_0:1.7
	RELEASE_4_6_2:1.7
	RELEASE_4_6_1:1.7
	RELEASE_4_6_0:1.7
	RELEASE_5_0_DP1:1.7
	RELEASE_4_5_0:1.6
	RELEASE_4_4_0:1.6
	RELEASE_4_3_0:1.5
	RELEASE_4_2_0:1.3
	RELEASE_4_1_1:1.1;
locks; strict;
comment	@# @;


1.13
date	2005.11.05.09.21.13;	author kris;	state dead;
branches;
next	1.12;

1.12
date	2004.02.05.20.38.01;	author trevor;	state Exp;
branches;
next	1.11;

1.11
date	2004.02.04.05.09.58;	author marcus;	state Exp;
branches;
next	1.10;

1.10
date	2003.09.07.23.39.03;	author lioux;	state Exp;
branches;
next	1.9;

1.9
date	2003.03.23.05.59.49;	author lioux;	state Exp;
branches;
next	1.8;

1.8
date	2003.02.23.19.58.34;	author lioux;	state Exp;
branches;
next	1.7;

1.7
date	2002.01.29.12.14.13;	author knu;	state Exp;
branches;
next	1.6;

1.6
date	2001.06.22.17.39.16;	author lioux;	state Exp;
branches;
next	1.5;

1.5
date	2001.02.22.02.49.46;	author lioux;	state Exp;
branches;
next	1.4;

1.4
date	2001.01.16.19.08.36;	author will;	state Exp;
branches;
next	1.3;

1.3
date	2000.10.03.05.12.44;	author lioux;	state Exp;
branches;
next	1.2;

1.2
date	2000.10.03.05.00.30;	author lioux;	state Exp;
branches;
next	1.1;

1.1
date	2000.09.18.00.46.12;	author steve;	state Exp;
branches;
next	;


desc
@@


1.13
log
@These ports depended on jx, which was removed.
@
text
@# New ports collection makefile for:	SystemG
# Date created:		14 June 2000
# Whom:			Mario S F Ferreira <lioux@@linf.unb.br> et al.
#
# $FreeBSD: ports/x11-fm/systemg/Makefile,v 1.12 2004/02/05 20:38:01 trevor Exp $
#

PORTNAME=	systemg
PORTVERSION=	1.0.1
PORTREVISION=	1
CATEGORIES=	x11-fm
MASTER_SITES=	${MASTER_SITE_LOCAL}
MASTER_SITE_SUBDIR=	lioux
DISTNAME=	SystemG_source-${PORTVERSION}

MAINTAINER=	ports@@FreeBSD.org
COMMENT=	UNIX File Manager based on the design of the Macintosh System 7

EXTRACT_DEPENDS=	${NONEXISTENT}:${JXPORT}:configure
BUILD_DEPENDS=	makemake:${JXPORT}
LIB_DEPENDS=	jx-1_5_3.1:${JXPORT} \
		jtoolbar-0_5_4.0:${PORTSDIR}/x11-toolkits/libjtoolbar \
		jtree-1_1_7.1:${PORTSDIR}/x11-toolkits/libjtree

WRKSRC=		${WRKDIR}/JX-1.5.3

USE_XLIB=	yes
USE_GMAKE=	yes
MAKE_ARGS=	CC="${CC}" CXX="${CXX}" \
		CFLAGS="${CFLAGS}" CXXFLAGS="${CXXFLAGS}"
MAKE_ENV=	JX_INSTALL_ROOT="${X11BASE}/bin" \
		JX_LIB_ROOT="${X11BASE}/lib"
PLIST_FILES=	bin/systemg

# Make environment
PORTINCLUDES=	-I${X11BASE}/include/jx \
		-I${X11BASE}/include/jcore \
		-I${X11BASE}/include/jtoolbar \
		-I${X11BASE}/include/jtree \
		-I${X11BASE}/share/jx

# Installs dir with proper permissions
INSTALL_DATA_DIR=	${INSTALL} -d -o ${SHAREOWN} -g ${SHAREGRP} -m 755
# program files
PROGRAMFILES=		systemg/systemg
# additional configuration and header files
EXTRALIB_PREFIX=	${X11BASE}/lib/jx
EXTRALIBFILES_MAKE_WRKSRC=	include/make
# main jx distribution files needed for building
COPY_JXDIRS=	include
COPY_JXFILES=	Makefile

.include <bsd.port.pre.mk>

# main jx distribution port wrksrc
JXPORT=		${PORTSDIR}/x11-toolkits/jx
JXPORT_WRKSRC!=	cd ${JXPORT} && ${MAKE} -V WRKSRC
JX_MAKE_CONSTANTS=	jtoolbar_constants jtree_constants

.if ${OSVERSION} >= 300000
ALL_TARGET=	freebsd3.x
.else
ALL_TARGET=	freebsd2.x
.endif

post-extract:
.for i in ${COPY_JXDIRS}
	@@${CP} -Rp ${JXPORT_WRKSRC}/${i} ${WRKSRC}
.endfor
.for i in ${COPY_JXFILES}
	@@${CP} -p ${JXPORT_WRKSRC}/${i} ${WRKSRC}
.endfor

post-patch:
	@@${ECHO_CMD} "SEARCHDIRS += ${PORTINCLUDES}" >> \
		${WRKSRC}/${EXTRALIBFILES_MAKE_WRKSRC}/jx_constants

pre-build:
.for i in ${JX_MAKE_CONSTANTS}
	@@${LN} -sf ${EXTRALIB_PREFIX}/make/${i} ${WRKSRC}/include/make
.endfor

post-build:
	@@cd ${WRKSRC}/programs/${PORTNAME}; ${SETENV} ${MAKE_ENV} makemake; \
		${SETENV} ${MAKE_ENV} ${GMAKE} ${MAKE_FLAGS} \
			${MAKEFILE} ${MAKE_ARGS}

do-install:
# Install all programs
.for i in ${PROGRAMFILES}
	@@${INSTALL_PROGRAM} ${WRKSRC}/programs/${i} ${PREFIX}/bin
.endfor

.include <bsd.port.post.mk>
@


1.12
log
@Use PLIST_FILES.

Reviewed by:	marcus
@
text
@d5 1
a5 1
# $FreeBSD$
@


1.11
log
@Bump PORTREVISION on all ports that depend on gettext to aid with upgrading.

(Part 1)
@
text
@d33 1
a33 1
PLIST_SUB=	PORTNAME="${PORTNAME}"
@


1.10
log
@Drop maintainership
@
text
@d10 1
@


1.9
log
@Fix build: replace BUILD_DEPENDS with EXTRACT_DEPENDS where appropriate

Submitted by:	bento
@
text
@d15 1
a15 1
MAINTAINER=	lioux@@FreeBSD.org
@


1.8
log
@De-pkg-comment
@
text
@d18 2
a19 2
BUILD_DEPENDS=	${NONEXISTENT}:${JXPORT}:configure \
		makemake:${JXPORT}
@


1.7
log
@Use ${ECHO_CMD} instead of ${ECHO} where you mean the echo command;
the ECHO macro is set to "echo" by default, but it is set to "true" if
make(1) is invoked with the -s option while ECHO_CMD is always set to
the echo command.
@
text
@d16 1
@


1.6
log
@House distfiles under  since these are no longer available elsewhere
@
text
@d5 1
a5 1
# $FreeBSD: ports/x11-fm/systemg/Makefile,v 1.5 2001/02/22 02:49:46 lioux Exp $
d73 1
a73 1
	@@${ECHO} "SEARCHDIRS += ${PORTINCLUDES}" >> \
@


1.5
log
@Sanitize MASTER_SITES.
@
text
@d5 1
a5 1
# $FreeBSD: ports/x11-fm/systemg/Makefile,v 1.4 2001/01/16 19:08:36 will Exp $
d11 2
a12 2
MASTER_SITES=	ftp://ftp.newplanetsoftware.com/pub/systemg/source/ \
		ftp://ftp.cs.itu.edu.tr/pub/linux/x11/jx/
@


1.4
log
@Update to sync with bsd.port.mk rev 1.361 - use PORTDOCS that is now in
bsd.port.mk, for easy removal of documentation.  I left alone one port -
japanese/elisa8x8 (or something like that), because it appeared to have
some rather weird way of doing PORTDOCS substitution.
@
text
@d5 1
a5 1
# $FreeBSD: ports/x11-fm/systemg/Makefile,v 1.3 2000/10/03 05:12:44 lioux Exp $
d11 2
a12 1
MASTER_SITES=	ftp://ftp.newplanetsoftware.com/pub/systemg/source/
@


1.3
log
@Maintainer is now a committer, update email accordingly

Approved by: will
@
text
@d5 1
a5 1
# $FreeBSD: ports/x11-fm/systemg/Makefile,v 1.2 2000/10/03 05:00:30 lioux Exp $
a61 6

.if defined(NOPORTDOCS)
PLIST_SUB+=	PORTDOCS:="@@comment "
.else
PLIST_SUB+=	PORTDOCS:=
.endif # !defined(NOPORTDOCS)
@


1.2
log
@Approved by: Will

Some simple changes. Mostly implementing Mr. Sada Kenji patches to
JX x11-toolkit family ports:

   1. nonexistent -> ${NONEXISTENT}
   2. Allow you to define WRKDIRPREFIX safely.

   -JXPORT_WRKSRC= ${JXPORT}/work/JX-1.5.3
   +JXPORT_WRKSRC!=        cd ${JXPORT} && ${MAKE} -V WRKSRC
@
text
@d5 1
a5 1
# $FreeBSD: ports/x11-fm/systemg/Makefile,v 1.1 2000/09/18 00:46:12 steve Exp $
d14 1
a14 1
MAINTAINER=	lioux@@linf.unb.br
@


1.1
log
@Adding systemg version 1.0.1.
A UN*X file manager based on the design of Macintosh System 7.

PR:		19288
Submitted by:	Mario S F Ferreira <lioux@@linf.unb.br>
@
text
@d5 1
a5 1
# $FreeBSD$
d16 1
a16 1
BUILD_DEPENDS=	nonexistent:${JXPORT}:configure \
d49 3
d54 1
a54 1
JXPORT_WRKSRC=	${JXPORT}/work/JX-1.5.3
a55 2

.include <bsd.port.pre.mk>
@

