aboutsummaryrefslogtreecommitdiffstats
path: root/cad/linux-gid/Makefile
blob: 1a45c89420f1f3a0c59f4f0f2a2beead66bd11cf (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
# New ports collection makefile for:    GiD
# Date created:     19 Feb 2004
# Whom:         Pedro Giffuni
#
# $FreeBSD$
#

PORTNAME=   gid
PORTVERSION=    7.4.9b
PORTREVISION=   1
CATEGORIES= cad linux
MASTER_SITES=   ftp://gid.cimne.upc.es/pub/gid_adds/Linux/kernel-2.2/Old/
PKGNAMEPREFIX=  linux-
DISTNAME=   ${PORTNAME}${PORTVERSION}

MAINTAINER= ports@FreeBSD.org
COMMENT=    A graphical pre- and post-processor for numerical simulation programs

CONFLICTS=  id-utils-[0-9]* coreutils-[0-9]*
ONLY_FOR_ARCHS= i386 amd64

USE_LINUX=  yes
USE_LINUX_APPS= xorglibs
REINPLACE_ARGS= -i ""
NO_WRKSUBDIR=   yes
NO_BUILD=   yes

INFO=       gid gid-faq gid-ptype
GID_BINS=   gen2dNNN gid.exe mesh3d99
GID_DATA=   GidPassword.txt License.htm License.txt README.txt
GID_DIRS=   bitmaps problemtypes scripts symbols templates info

post-extract:
    @${REINPLACE_CMD} -e 's+/usr/bin/X11+${X11BASE}/bin+g;' \
        ${WRKDIR}/install
    ${RM} ${WRKDIR}/info/gid.info.cvs

do-install:
    @${MKDIR} ${DATADIR}
.for d in ${GID_DATA}
    ${INSTALL_DATA} ${WRKDIR}/${d} ${DATADIR}
.endfor
.for d in ${GID_DIRS}
    @${MKDIR} ${DATADIR}/${d}
    @${TAR} -C ${WRKDIR}/${d} -cf - . | \
      ${TAR} -C ${DATADIR}/${d} -xf -
    @${CHOWN} -R root:wheel ${DATADIR}/${d}
    @${FIND} ${DATADIR}/${d} -type d -exec ${CHMOD} 0555 {} \;
    @${FIND} ${DATADIR}/${d} -type f -exec ${CHMOD} 0444 {} \;
.endfor
    ${RM} ${DATADIR}/info/*.info*
.for b in ${GID_BINS}
    ${INSTALL_PROGRAM} ${WRKDIR}/${b} ${DATADIR}
    @${BRANDELF} -t Linux ${DATADIR}/${b}
.endfor
    ${INSTALL_SCRIPT} ${WRKDIR}/install ${DATADIR}
    @(cd ${WRKDIR}; ./install ${DATADIR})
    @${LN} -sf ${DATADIR}/gid ${PREFIX}/bin/gid
    for f in ${WRKDIR}/info/gid*.info*; do \
      ${INSTALL_DATA} $$f ${PREFIX}/info; \
    done
    for f in faq.info ptype.info; do \
      ${INSTALL_DATA} ${WRKDIR}/info/$$f ${PREFIX}/info/gid-$$f; \
    done
.ifndef NOPORTEXAMPLES
    @${MKDIR} ${EXAMPLESDIR}
    @${TAR} -C ${WRKDIR}/Examples -cf - . | \
      ${TAR} -C ${EXAMPLESDIR} -xf -
    @${CHOWN} -R root:wheel ${EXAMPLESDIR}
    @${FIND} ${EXAMPLESDIR} -type d -exec ${CHMOD} 0555 {} \;
    @${FIND} ${EXAMPLESDIR} -type f -exec ${CHMOD} 0444 {} \;
.endif

.include <bsd.port.mk>
reamer&id=20a653c363a810edf6387ea9028ce20c47b91395'>- Update to 0.11culot2011-08-012-3/+6 * - Sort SUBDIRssunpoet2011-08-011-1/+1 * - Chase guile shared lib bumpjlaffaye2011-07-311-2/+2 * - Fix build with Ruby 1.9swills2011-07-311-1/+2 * Build fixes with glib 2.28. gtk 2.24, gtkmm 2.24 and vala 0.12.kwm2011-07-301-0/+1 * - Update to 20110228sylvio2011-07-283-12/+11 * Import version 1.2 of inspircd -- 'there's no m_codepage for 2.x yet'.crees2011-07-277-0/+726 * - Fix build after recent gnutls updatepav2011-07-271-1/+2 * Add ability to run as ircd user/groupzi2011-07-252-4/+22 * - Reset maintainership (5 simultaneous timeouts since Sep/2009)crees2011-07-251-4/+4 * - Fix building of port due to gnutls update which removes gcrypt supportashish2011-07-183-5/+26 * - Update to 20110714culot2011-07-172-5/+5 * Reassign maintainership to submitter of ports/155143 due to maintainerlinimon2011-07-101-1/+1 * - Use USERS and GROUPScrees2011-07-095-285/+167 * Oops, ${PORTSDIR}/Mk isn't in the search path of course...crees2011-07-071-1/+1 * Make portlint happier.adamw2011-07-061-3/+3 * Use USERS and GROUPScrees2011-07-062-119/+5 * Use USERS and GROUPScrees2011-07-062-86/+7 * ratbox-services now uses USERS and GROUPScrees2011-07-062-83/+4 * Kill EOL whitespace.danfe2011-07-051-2/+2 * - Reassign to the heaptabthorpe2011-07-052-2/+2 * - Use USERS and GROUPScrees2011-07-052-95/+6 * - Use USERS and GROUPScrees2011-07-053-57/+4 * - Mark as broken with Ruby 1.9swills2011-07-051-1/+5 * - Use USERS and GROUPScrees2011-07-032-29/+6 * - Use USERS and GROUPScrees2011-07-032-29/+6 * - Chase the libgcrypt shared lib versionswills2011-07-031-2/+2 * Update Pidgin and friends to 2.9.0. Seemarcus2011-07-032-3/+3 * - Kick MD5 Supportmiwi2011-07-033-3/+0 * - Fix build under clangdb2011-07-011-1/+2 * - Use USERS and GROUPScrees2011-06-293-81/+14 * - Change IGNORE to BROKENbeech2011-06-281-1/+1 * - Mark IGNORE if WITH_SSL is defined, and the system is amd64beech2011-06-281-4/+7 * - Use USERS and GROUPScrees2011-06-282-83/+4 * - Use USERS and GROUPScrees2011-06-282-43/+3 * Bye Byemiwi2011-06-256-108/+0 * - Update to 1.0.2miwi2011-06-252-3/+3 * - Update 0.87miwi2011-06-252-4/+5 * - Update to 1.02miwi2011-06-252-3/+3 * - Cannoicalize the WWW: [again],pgollucci2011-06-241-1/+1 * Drop maintainership and reassign to ports@mm2011-06-221-1/+1 * Respect CC (fixes build with clang)jlaffaye2011-06-211-0/+1 * - Replace ../../authors in MASTER_SITE_SUBDIR with CPAN:CPANID macro.az2011-06-201-2/+2 * Chase the libpurple shared lib version.marcus2011-06-202-3/+3 * - remove irc/ezbounce-devel which now lives in irc/ezbounceflo2011-06-196-96/+0 * - bring over version 1.99.15 from irc/ezbounce-devel (soon to be removed)flo2011-06-193-31/+8 * - Use USERS and GROUPScrees2011-06-182-43/+3 * - Update maintainer addresscrees2011-06-172-2/+2 * Mark broken some ports with unfetchable distfilesbapt2011-06-171-0/+2 * - Update to 20110614culot2011-06-152-6/+5 * - Update to 1.49culot2011-06-143-10/+16 * - Update to v3.0.3brix2011-06-132-4/+3 * Remove irc/bitlbee-otr port.ashish2011-06-1311-502/+0 * Hello Mono 2.10!romain2011-06-131-0/+2 * Update to 2.2jlaffaye2011-06-123-7/+10 * - Update to 6.68miwi2011-06-122-8/+13 * - Update to 0.3.5miwi2011-06-123-7/+10 * - switch to USERS/GROUPS macrobapt2011-06-092-54/+6 * Update my e-mail to my FreeBSD one.jlaffaye2011-06-092-2/+2 * Chase security/gnutls update and add an UPDATING entry.novel2011-06-068-10/+15 * - Update 0.098miwi2011-05-264-9/+42 * - Update to 0.10culot2011-05-252-3/+4 * - Update to 1.8.6dhn2011-05-232-4/+3 * - Add licensesylvio2011-05-211-0/+2 * Add USE_NCURSES=yesvanilla2011-05-201-1/+2 * - Add licensesylvio2011-05-181-0/+1 * - Update to 0.8.8sylvio2011-05-183-6/+5 * Miscellaneous cleanups and fixes, some of the windowmaker stuffdougb2011-05-161-1/+1 * - Update to 20110515culot2011-05-152-5/+5 * - honor CCdinoex2011-05-112-0/+8 * - Update to 20110508culot2011-05-092-5/+5 * Add missing manmakc2011-05-081-1/+2 * Update to 4.0.4makc2011-05-083-9/+19 * mark as broken because the distfile is no more availablebapt2011-05-031-0/+2 * Remove unmaintained expired ports from ircbapt2011-05-0211-215/+0 * - Update to 20110501culot2011-05-022-5/+5 * - Update to 1.44culot2011-04-282-10/+9 * - Update to 20110421 (0.3.5-rc1)beech2011-04-242-5/+5 * - Bump PORTREVISION (forgotten with the previous commit,nivit2011-04-221-0/+1 * - Add missing py-twisted* dependencies to RUN_DEPENDSnivit2011-04-211-0/+5 * - Update WWW link.ashish2011-04-171-1/+1 * Take maintainership againmakc2011-04-171-8/+2 * The functions in this module take care of many of the tasks you arejadawin2011-04-135-0/+34 * CMAKE_BUILD_TYPE is set in bsd.cmake.mk now, remove it from Makefilesmakc2011-04-103-14/+0 * - Update to 20110326culot2011-04-033-8/+12 * - Update to v3.0.2brix2011-04-022-3/+3 * irc/ircd-hybrid-ru is now russian/ircd-hybrid-rubapt2011-03-2713-572/+0 * - Update MASTER_SITES and WWW: linemiwi2011-03-273-27/+15 * - Add LICENSE knob(s)mm2011-03-232-1/+7 * - Update to 1.9.4wen2011-03-213-3/+4 * Bump PORTREVISION for ports linking to default libmysqlclient.ale2011-03-194-2/+4 * - Get Rid MD5 supportmiwi2011-03-19