source: trunk/dports/textproc/latex2rtf/files/patch-Makefile.diff @ 10416

Last change on this file since 10416 was 10416, checked in by jmpp, 15 years ago

Submitted by: jmpp@

New port: texproc/latex2rtf 1.9.16a

  • Property svn:eol-style set to native
File size: 2.2 KB
  • Makefile

    old new  
    168168        cd doc && $(MAKE) -k
    169169
    170170install: latex2rtf doc/latex2rtf.1 $(CFGS) scripts/latex2png
    171         $(MKDIR) $(BIN_INSTALL)
    172         $(MKDIR) $(MAN_INSTALL)
    173         $(MKDIR) $(CFG_INSTALL)
    174         cp $(BINARY_NAME)     $(BIN_INSTALL)
    175         cp scripts/latex2png  $(BIN_INSTALL)
    176         cp doc/latex2rtf.1    $(MAN_INSTALL)
    177         cp doc/latex2png.1    $(MAN_INSTALL)
    178         cp $(CFGS)            $(CFG_INSTALL)
    179         cp doc/latex2rtf.html $(SUPPORT_INSTALL)
    180         cp doc/latex2rtf.pdf  $(SUPPORT_INSTALL)
    181         cp doc/latex2rtf.txt  $(SUPPORT_INSTALL)
     171        $(MKDIR) $(DESTDIR)$(BIN_INSTALL)
     172        $(MKDIR) $(DESTDIR)$(MAN_INSTALL)
     173        $(MKDIR) $(DESTDIR)$(CFG_INSTALL)
     174        cp $(BINARY_NAME)     $(DESTDIR)$(BIN_INSTALL)
     175        cp scripts/latex2png  $(DESTDIR)$(BIN_INSTALL)
     176        cp doc/latex2rtf.1    $(DESTDIR)$(MAN_INSTALL)
     177        cp doc/latex2png.1    $(DESTDIR)$(MAN_INSTALL)
     178        cp $(CFGS)            $(DESTDIR)$(CFG_INSTALL)
     179        cp doc/latex2rtf.html $(DESTDIR)$(SUPPORT_INSTALL)
     180        cp doc/latex2rtf.pdf  $(DESTDIR)$(SUPPORT_INSTALL)
     181        cp doc/latex2rtf.txt  $(DESTDIR)$(SUPPORT_INSTALL)
    182182        @echo "******************************************************************"
    183183        @echo "*** latex2rtf successfully installed as \"$(BINARY_NAME)\""
    184184        @echo "*** in directory \"$(BIN_INSTALL)\""
     
    195195        @echo "******************************************************************"
    196196
    197197install-info: doc/latex2rtf.info
    198         $(MKDIR) $(INFO_INSTALL)
    199         cp doc/latex2rtf.info $(INFO_INSTALL)
    200         install-info --info-dir=$(INFO_INSTALL) doc/latex2rtf.info
     198        $(MKDIR) $(DESTDIR)$(INFO_INSTALL)
     199        cp doc/latex2rtf.info $(DESTDIR)$(INFO_INSTALL)
     200        install-info --info-dir=$(DESTDIR)$(INFO_INSTALL) doc/latex2rtf.info
    201201
    202202realclean: checkdir clean
    203203        rm -f makefile.depend latex2rtf-$(VERSION).tar.gz
     
    227227        cp macosx/License.rtf $(PKG_RESOURCES)
    228228        cp macosx/ReadMe.html $(PKG_RESOURCES)
    229229        cp macosx/Welcome.html $(PKG_RESOURCES)
    230        
     230
    231231        -$(PKG_MAKER) -build -p $(PKG_NAME) -r $(PKG_RESOURCES) -f $(PKG_CONTENTS)
    232232        mkdmg $(DMG_DIR)
    233        
     233
    234234        rm -rf $(PKG_DIR)
    235        
     235
    236236        mkdmg
    237        
    238        
    239        
     237
     238
     239
    240240.PHONY: all check checkdir clean depend dist doc install install_info realclean latex2rtf uptodate splint
    241241
    242242# created using "make depend"
Note: See TracBrowser for help on using the repository browser.