Changeset 1141 for branches/0.8-stable


Ignore:
Timestamp:
Jul 23, 2010, 2:23:34 PM (9 years ago)
Author:
Peter Johansson
Message:

adding template and rule to create Portfile

Location:
branches/0.8-stable
Files:
1 added
2 edited

Legend:

Unmodified
Added
Removed
  • branches/0.8-stable/.svndigest/config

    r1038 r1141  
    8484bootstrap = "#":"\n"
    8585Makefile = "#":"\n"
     86Portfile = "#":"\n"
  • branches/0.8-stable/Makefile.am

    r1119 r1141  
    7171  { echo incorrect svn revision - expected single unmodified revision 1>&2; \
    7272    exit 1; }
     73
     74edit = $(SED) \
     75  -e 's|@PACKAGE_URL[@]|$(PACKAGE_URL)|g' \
     76  -e 's|@VERSION[@]|$(VERSION)|g'
     77
     78build_support/Portfile: Makefile build_support/Portfile.in $(distdir).tar.gz.MD5
     79  @rm -f $@ $@.t
     80  @md5sum=`cut -f 1 -d ' ' $(distdir).tar.gz.MD5`;\
     81  $(edit) -e "s|@MD5SUM[@]|$$md5sum|g" '$(srcdir)/$@.in' > $@.t
     82  @chmod a-w $@.t
     83  @mv $@.t $@
     84  @echo "creating $@"
Note: See TracChangeset for help on using the changeset viewer.